Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.001127/0.001127, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 63.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6514, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002547/0.654, allocations: 1.499 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.6551, allocations: 0.7528 MB / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.6552, allocations: 0 / 0.9519 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.6552, allocations: 5.156 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.6553, allocations: 13.2 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.6559, allocations: 138.3 kB / 0.9521 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.656, allocations: 82.56 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.6562, allocations: 19 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.836e-05/0.6563, allocations: 52.22 kB / 0.9522 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.6563, allocations: 44.56 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.6564, allocations: 8.125 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.6566, allocations: 91.73 kB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.6566, allocations: 19.19 kB / 0.9524 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.6567, allocations: 54.44 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.6569, allocations: 147.6 kB / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6569, allocations: 0 / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6569, allocations: 0 / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6569, allocations: 0 / 0.9526 GB, free: 6.934 MB / 0.7169 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.00054/0.6575, allocations: 462.4 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6575, allocations: 9.719 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.6576, allocations: 41.02 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.6576, allocations: 12.91 kB / 0.9531 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.6577, allocations: 176.4 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.6577, allocations: 8.438 kB / 0.9532 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6578, allocations: 5.812 kB / 0.9532 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.658, allocations: 94.31 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.658, allocations: 0 / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.658, allocations: 0 / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.658, allocations: 2.781 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.6582, allocations: 47.83 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.6587, allocations: 322.2 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.6588, allocations: 61.5 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.683e-05/0.6589, allocations: 48.89 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.659, allocations: 4.969 kB / 0.9538 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.6592, allocations: 91.89 kB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.6592, allocations: 0 / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004827/0.6597, allocations: 193.5 kB / 0.9541 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6598, allocations: 58.48 kB / 0.9541 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.6599, allocations: 129.4 kB / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6599, allocations: 32.55 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.6599, allocations: 94.67 kB / 0.9544 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.66, allocations: 23.25 kB / 0.9544 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.66, allocations: 31.61 kB / 0.9544 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.6601, allocations: 325.1 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.474e-05/0.6602, allocations: 27.95 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.6603, allocations: 76.42 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.6605, allocations: 112.6 kB / 0.9549 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6605, allocations: 3.938 kB / 0.9549 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000257/0.6608, allocations: 132.4 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6608, allocations: 5 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6608, allocations: 2.5 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.6608, allocations: 2.469 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.6609, allocations: 28.02 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6609, allocations: 1.312 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.661, allocations: 9.875 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.661, allocations: 11.86 kB / 0.9551 GB, free: 4.516 MB / 0.7169 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 7.716e-05/0.6611, allocations: 128.9 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.6611, allocations: 8.156 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.6612, allocations: 9.75 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6612, allocations: 1.531 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.6612, allocations: 4 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6612, allocations: 3.984 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.6616, allocations: 434.2 kB / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6617, allocations: 0 / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.6617, allocations: 4.312 kB / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6617, allocations: 0 / 0.9557 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6617, allocations: 5.609 kB / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6617, allocations: 1.812 kB / 0.9557 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6617, allocations: 7.938 kB / 0.9557 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.662, allocations: 253.1 kB / 0.956 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.6621, allocations: 87.14 kB / 0.956 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.6621, allocations: 1.094 kB / 0.956 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.6622, allocations: 11.8 kB / 0.956 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.6623, allocations: 7.031 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6623, allocations: 10.27 kB / 0.9561 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.6623, allocations: 94.86 kB / 0.9562 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6623, allocations: 0 / 0.9562 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003277/0.6627, allocations: 38.97 kB / 0.9562 GB, free: 3.551 MB / 0.7169 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.0007226/0.6634, allocations: 0.8478 MB / 0.957 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.6637, allocations: 92.88 kB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6637, allocations: 0 / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.6638, allocations: 50.75 kB / 0.9572 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.6641, allocations: 24.3 kB / 0.9572 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.6655, allocations: 1.578 MB / 0.9587 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.6656, allocations: 0.69 MB / 0.9594 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.6656, allocations: 8.422 kB / 0.9594 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.6657, allocations: 19.94 kB / 0.9594 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6657, allocations: 0 / 0.9594 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.6898, allocations: 2.934 MB / 0.9623 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.517, allocations: 12.84 kB / 0.9623 GB, free: 15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.solarAltitude in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.solarAltitude from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! Error: Could not read variable bli.occ in file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv. Warning: Get data of variable bli.occ from file Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.csv failed! " Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:time,SA.y,bli.blindState,bli.pDown,bli.pUp,SA.amplitude