Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_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.0008154/0.0008155, allocations: 91.84 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.006953/0.006953, 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5657, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001883/0.5676, allocations: 1.231 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.569, allocations: 0.7404 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.5691, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.5691, allocations: 3.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.5693, allocations: 15.86 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.5699, allocations: 107.8 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.57, allocations: 79.77 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.5701, allocations: 15.98 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.5703, allocations: 39.84 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.5704, allocations: 39.83 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.5704, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.5706, allocations: 91.84 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.5706, allocations: 23.97 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.5707, allocations: 61.5 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.571, allocations: 145.9 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.571, allocations: 3.938 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.571, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.571, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 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.0005936/0.5716, allocations: 450.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5716, allocations: 12.03 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.963e-05/0.5717, allocations: 42.73 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.5718, allocations: 8.844 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5719, allocations: 180.2 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.572, allocations: 12.36 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.572, allocations: 4.375 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.5722, allocations: 85.77 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5722, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5722, allocations: 7.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.5723, allocations: 8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.5724, allocations: 51.91 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.573, allocations: 312.8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.5732, allocations: 74.64 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.5733, allocations: 52.77 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.5734, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.5736, allocations: 95.5 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.5736, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000491/0.5741, allocations: 197.5 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5742, allocations: 59.77 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5743, allocations: 125.8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.5743, allocations: 33.7 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.5744, allocations: 92.36 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.5744, allocations: 23.69 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.5745, allocations: 25.7 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5746, allocations: 322.8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.5747, allocations: 31.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5748, allocations: 84.17 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.575, allocations: 109.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.575, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002717/0.5753, allocations: 149.3 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5753, allocations: 4 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5753, allocations: 7.938 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5753, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.5754, allocations: 19.98 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5755, allocations: 4 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.5755, allocations: 15.84 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5756, allocations: 12.14 kB / 1.028 GB, free: 10.31 MB / 0.7794 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 9.603e-05/0.5757, allocations: 131.3 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.5757, allocations: 3.906 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.5757, allocations: 12.38 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5757, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5757, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5757, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.5763, allocations: 446.3 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5763, allocations: 0 / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.5764, allocations: 4 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5764, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5764, allocations: 3.984 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5764, allocations: 7.938 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5764, allocations: 3.938 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.5768, allocations: 259.4 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.5769, allocations: 85.05 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.5769, allocations: 3.938 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.577, allocations: 8 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.5771, allocations: 15.92 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.5771, allocations: 11.98 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.5771, allocations: 98.77 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5772, allocations: 0 / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002921/0.5775, allocations: 40 kB / 1.029 GB, free: 9.098 MB / 0.7794 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.0007913/0.5782, allocations: 0.8509 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.5785, allocations: 99.89 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5785, allocations: 96 / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.5786, allocations: 55.91 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5789, allocations: 16.91 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5805, allocations: 1.623 MB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.5808, allocations: 0.6971 MB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.5809, allocations: 4 kB / 1.033 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.5809, allocations: 23.42 kB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5809, allocations: 0 / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.967/1.548, allocations: 2.634 MB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/1.548, allocations: 279.1 kB / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/3.484, allocations: 3.938 kB / 1.035 GB, free: 2.762 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches