Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_10_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.007858/0.007858, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.00204/0.002041, allocations: 190.5 kB / 16.67 MB, free: 5.922 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 64.12 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9719, allocations: 151.6 MB / 1.166 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002699/0.9746, allocations: 1.512 MB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.976, allocations: 0.744 MB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.976, allocations: 0 / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.9761, allocations: 3.938 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.9762, allocations: 19.84 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.9767, allocations: 127.5 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.9769, allocations: 99.7 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.977, allocations: 8 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.9771, allocations: 39.89 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.9772, allocations: 47.83 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.9772, allocations: 8 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.9774, allocations: 103.8 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.9774, allocations: 19.97 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.001e-05/0.9775, allocations: 43.8 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.9778, allocations: 151.2 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9778, allocations: 0 / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9778, allocations: 0 / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.9778, allocations: 3.938 kB / 1.169 GB, free: 0.9102 MB / 0.8887 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.0007201/0.9785, allocations: 476.3 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9786, allocations: 8.922 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.9786, allocations: 38.75 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.9787, allocations: 8.891 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.9789, allocations: 189.3 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.9789, allocations: 8.375 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.9789, allocations: 4.375 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.9792, allocations: 85.77 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9792, allocations: 0 / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.9792, allocations: 4.047 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9792, allocations: 4 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.9794, allocations: 47.84 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.98, allocations: 316.8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.9801, allocations: 62.55 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.9803, allocations: 44.84 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.9803, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.9805, allocations: 99.55 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.9806, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005031/0.9811, allocations: 185.5 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.9811, allocations: 59.39 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.9813, allocations: 131.3 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.9813, allocations: 30.08 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.9814, allocations: 96.36 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.9814, allocations: 23.8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.9815, allocations: 33.7 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.9817, allocations: 330.7 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.9818, allocations: 23.98 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.9819, allocations: 81.92 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.9821, allocations: 101.9 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9821, allocations: 4 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002651/0.9824, allocations: 133.5 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.9824, allocations: 7.938 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.9824, allocations: 4 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.9824, allocations: 3.938 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.9825, allocations: 15.98 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.9825, allocations: 4.156 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.9826, allocations: 12.08 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.9826, allocations: 12 kB / 1.172 GB, free: 13.99 MB / 0.9044 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.0001151/0.9828, allocations: 136.3 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.9828, allocations: 7.953 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.9828, allocations: 8.375 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.9828, allocations: 4 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9828, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.9829, allocations: 7.984 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.9835, allocations: 438.3 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9835, allocations: 0 / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.9835, allocations: 4 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9835, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.9836, allocations: 3.984 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9836, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9836, allocations: 3.938 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.9839, allocations: 251.4 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.984, allocations: 85.06 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.984, allocations: 4.188 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.9841, allocations: 4 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.9842, allocations: 15.86 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.9842, allocations: 7.984 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.9843, allocations: 100.2 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9843, allocations: 4 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003375/0.9846, allocations: 43.88 kB / 1.173 GB, free: 12.79 MB / 0.9044 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.0009878/0.9856, allocations: 0.8371 MB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.986, allocations: 91.83 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.986, allocations: 0 / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.9861, allocations: 59.94 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.9864, allocations: 20.23 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.9883, allocations: 1.588 MB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.9886, allocations: 0.6885 MB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.9887, allocations: 15.97 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.9887, allocations: 19.44 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.9887, allocations: 4 kB / 1.176 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/1.014, allocations: 2.993 MB / 1.179 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/9.07, allocations: 10.12 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable bli.H in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.H from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! Error: Could not read variable bli.occ in file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv. Warning: Get data of variable bli.occ from file Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.csv failed! " Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:time,H.y,bli.blindState,bli.pDown,bli.pUp,H.amplitude