Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_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.008109/0.008109, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001695/0.001695, allocations: 198.5 kB / 16.68 MB, free: 5.957 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 1.054 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8421/0.8434, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003179/0.8467, allocations: 1.513 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.8481, allocations: 0.7439 MB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.8482, allocations: 4 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.8483, allocations: 7.875 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.8484, allocations: 15.86 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.8491, allocations: 127.6 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.8493, allocations: 91.75 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.8494, allocations: 15.94 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.8495, allocations: 43.84 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.8496, allocations: 47.81 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.8496, allocations: 8 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.8499, allocations: 99.84 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.8499, allocations: 15.98 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.85, allocations: 39.78 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.8503, allocations: 153.8 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8503, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8503, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8503, allocations: 4 kB / 1.21 GB, free: 10.65 MB / 0.9356 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.0006848/0.851, allocations: 462.5 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8511, allocations: 15.97 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.8511, allocations: 30.75 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.8511, allocations: 8.844 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.8513, allocations: 183 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.8513, allocations: 4.375 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.8514, allocations: 8.375 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.8516, allocations: 97.69 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8516, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.8516, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8516, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.8518, allocations: 43.97 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.8524, allocations: 320.8 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.8525, allocations: 74.58 kB / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.8527, allocations: 40.84 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.8527, allocations: 3.984 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/0.853, allocations: 91.36 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.853, allocations: 0 / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005056/0.8535, allocations: 193.4 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8535, allocations: 55.41 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8537, allocations: 129.7 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8537, allocations: 29.7 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.8538, allocations: 88.38 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.8538, allocations: 27.67 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.8539, allocations: 29.66 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.854, allocations: 330.8 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.8541, allocations: 27.98 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.8542, allocations: 69.98 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.8544, allocations: 113.9 kB / 1.212 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8544, allocations: 0 / 1.212 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002641/0.8547, allocations: 145.3 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.8547, allocations: 8 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8547, allocations: 0 / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8547, allocations: 4 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.8548, allocations: 15.98 kB / 1.213 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.8548, allocations: 3.938 kB / 1.213 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.8549, allocations: 15.94 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.8549, allocations: 4 kB / 1.213 GB, free: 7.738 MB / 0.9356 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.0001047/0.8551, allocations: 125.9 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.8551, allocations: 7.891 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.8551, allocations: 12.38 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8551, allocations: 4 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8551, allocations: 0 / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8551, allocations: 0 / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.8557, allocations: 438.4 kB / 1.213 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8557, allocations: 4 kB / 1.213 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.8558, allocations: 12.39 kB / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8558, allocations: 0 / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.8558, allocations: 4 kB / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8558, allocations: 0 / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8558, allocations: 3.938 kB / 1.213 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.8562, allocations: 247.3 kB / 1.213 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.8562, allocations: 89.02 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.8563, allocations: 7.984 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.8564, allocations: 4 kB / 1.214 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.8564, allocations: 11.92 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.8564, allocations: 4 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.8565, allocations: 102.4 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.503e-06/0.8565, allocations: 0 / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003295/0.8569, allocations: 47.92 kB / 1.214 GB, free: 6.535 MB / 0.9356 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.0008696/0.8577, allocations: 0.8405 MB / 1.215 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.858, allocations: 99.97 kB / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.858, allocations: 0 / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.8582, allocations: 43.97 kB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8585, allocations: 20.02 kB / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.8602, allocations: 1.599 MB / 1.216 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.8605, allocations: 0.6923 MB / 1.217 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.8606, allocations: 4 kB / 1.217 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.8606, allocations: 27.42 kB / 1.217 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.8606, allocations: 0 / 1.217 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.8833, allocations: 3.027 MB / 1.22 GB, free: 204 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.787, allocations: 11.58 kB / 1.22 GB, free: 192 kB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:SA.amplitude,SA.f,SA.offset,SA.phase,SA.startTime,SA.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.blindState,bli.occ,bli.pDown,bli.pUp,bli.samplePeriod,bli.seed,bli.solarAltitude,occ.startTime,occ.startValue,occ.y,time