Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007972/0.007972, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 10.09 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2706, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001869/0.2725, allocations: 1.229 MB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2739, allocations: 0.7324 MB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.274, allocations: 3.938 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.274, allocations: 11.92 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.274, allocations: 11.92 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.2745, allocations: 103.8 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.2747, allocations: 87.77 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.2747, allocations: 11.98 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2748, allocations: 39.84 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.2749, allocations: 39.83 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.275, allocations: 4 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.2752, allocations: 95.84 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.2752, allocations: 15.97 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.2753, allocations: 61.5 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.2755, allocations: 147.9 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2755, allocations: 0 / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2755, allocations: 0 / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2755, allocations: 0 / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006298/0.2762, allocations: 454.6 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2762, allocations: 15.97 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.2763, allocations: 34.69 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2763, allocations: 8.844 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2765, allocations: 180.3 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2765, allocations: 8.375 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2765, allocations: 4.375 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2767, allocations: 97.7 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2768, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2768, allocations: 7.922 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2768, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.2769, allocations: 47.97 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.2775, allocations: 328.6 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2776, allocations: 74.58 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2778, allocations: 40.84 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.2778, allocations: 8 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.278, allocations: 91.36 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.278, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004971/0.2785, allocations: 201.5 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2786, allocations: 55.41 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2787, allocations: 124.5 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2787, allocations: 33.7 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.2788, allocations: 96.36 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2788, allocations: 23.8 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2789, allocations: 25.7 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.279, allocations: 326.8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.825e-05/0.2791, allocations: 31.92 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2792, allocations: 77.98 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.2794, allocations: 113.9 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2794, allocations: 4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002836/0.2797, allocations: 145.3 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2797, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2797, allocations: 4 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2798, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.2799, allocations: 24.52 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2799, allocations: 3.938 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.28, allocations: 12 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.28, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.2801, allocations: 137.6 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.2801, allocations: 7.906 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.2801, allocations: 4.375 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2801, allocations: 4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2802, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2802, allocations: 4 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.2808, allocations: 438.3 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2808, allocations: 3.984 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.2808, allocations: 7.938 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2809, allocations: 4 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2809, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2809, allocations: 7.984 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2809, allocations: 3.938 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.2812, allocations: 251.3 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.2813, allocations: 89 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2813, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2814, allocations: 8 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.2815, allocations: 11.92 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2815, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.2816, allocations: 95.27 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2816, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003035/0.2819, allocations: 43.98 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000928/0.2828, allocations: 0.861 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2831, allocations: 99.83 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2831, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2832, allocations: 48.28 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2835, allocations: 28.61 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2853, allocations: 1.623 MB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2855, allocations: 0.6887 MB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.2856, allocations: 15.92 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.2856, allocations: 19.44 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of SimCode: time 1.603e-06/0.2856, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.002/1.288, allocations: 2.665 MB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.288, allocations: 274.8 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/3.135, allocations: 1.875 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches