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.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.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.005302/0.005302, allocations: 99.64 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.001326/0.001326, allocations: 192.9 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.284/1.284, 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.442/2.442, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 68.3 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6437, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002246/0.646, allocations: 1.505 MB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.6472, allocations: 0.7517 MB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.6472, allocations: 0 / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.6472, allocations: 3.938 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.6473, allocations: 15.86 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.6478, allocations: 135.6 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.6479, allocations: 91.7 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.397e-05/0.648, allocations: 8 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.6481, allocations: 47.83 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.6482, allocations: 39.84 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.6482, allocations: 8 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.6484, allocations: 99.84 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.6484, allocations: 23.95 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.6485, allocations: 43.8 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.6487, allocations: 155.2 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6487, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6487, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.6487, allocations: 0 / 1.169 GB, free: 0.8359 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.0005718/0.6493, allocations: 470.2 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.6493, allocations: 12.92 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.6494, allocations: 30.75 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.6494, allocations: 12.89 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.6495, allocations: 184.2 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.6496, allocations: 12.31 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.6496, allocations: 4.375 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.6498, allocations: 93.75 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6498, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6498, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.6498, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.65, allocations: 43.97 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.6505, allocations: 324.7 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.6507, allocations: 66.55 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.6508, allocations: 40.84 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.6508, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.651, allocations: 103.3 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.651, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0004521/0.6515, allocations: 185.5 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6515, allocations: 59.39 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.6516, allocations: 127.2 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6516, allocations: 37.69 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.6517, allocations: 88.38 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.6517, allocations: 27.94 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.6518, allocations: 33.7 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6519, allocations: 322.8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.652, allocations: 27.98 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.6521, allocations: 73.98 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.6523, allocations: 117.8 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6523, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002422/0.6526, allocations: 129.5 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.6526, allocations: 8 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6526, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.6526, allocations: 11.92 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.6527, allocations: 15.94 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.6527, allocations: 4.156 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.6528, allocations: 19.98 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6528, allocations: 4 kB / 1.172 GB, free: 13.91 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 9.629e-05/0.6529, allocations: 129.7 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.87e-05/0.6529, allocations: 7.953 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.6529, allocations: 12.36 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6529, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.653, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.653, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.6535, allocations: 434.6 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6535, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.6535, allocations: 4 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6535, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6536, allocations: 7.984 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6536, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6536, allocations: 3.938 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.6539, allocations: 251.4 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.654, allocations: 81.06 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.654, allocations: 8 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.6541, allocations: 3.984 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.6541, allocations: 7.938 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.6542, allocations: 7.984 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.6542, allocations: 104.6 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6542, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002746/0.6545, allocations: 43.86 kB / 1.173 GB, free: 12.72 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.000825/0.6553, allocations: 0.8538 MB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.6556, allocations: 91.83 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6556, allocations: 0 / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6557, allocations: 47.92 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.656, allocations: 25.72 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.6576, allocations: 1.587 MB / 1.175 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6578, allocations: 0.6885 MB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.6579, allocations: 11.98 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.6579, allocations: 27.42 kB / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6579, allocations: 0 / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.083/4.741, allocations: 2.978 MB / 1.179 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/16.35, allocations: 18.14 kB / 1.179 GB, free: 6.395 MB / 0.9044 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=400 --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