Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006417/0.006417, allocations: 101.1 kB / 15.73 MB, free: 5.523 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.001272/0.001271, allocations: 198.1 kB / 16.67 MB, free: 5.461 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 1.054 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9232/0.9245, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002529/0.9271, allocations: 1.498 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.9284, allocations: 0.7284 MB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.9285, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.9286, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.135e-05/0.9286, allocations: 7.875 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.9291, allocations: 123.6 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.9293, allocations: 67.72 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.9294, allocations: 19.94 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.9295, allocations: 35.91 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.9296, allocations: 31.84 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.9296, allocations: 8 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.9298, allocations: 95.84 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.9298, allocations: 15.92 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.9299, allocations: 35.84 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.9301, allocations: 131.5 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9301, allocations: 4 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9301, allocations: 4 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.9301, allocations: 0 / 1.21 GB, free: 10.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006516/0.9308, allocations: 440.5 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.9308, allocations: 12.03 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.9309, allocations: 4.844 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.931, allocations: 172.2 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.9311, allocations: 8.312 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.9311, allocations: 4.375 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.9313, allocations: 85.94 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9313, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9313, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.9313, allocations: 3.938 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.9315, allocations: 35.97 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.932, allocations: 292.8 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.9321, allocations: 58.5 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.9322, allocations: 32.95 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.9322, allocations: 4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.9324, allocations: 71.38 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9324, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004098/0.9328, allocations: 149.4 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.9329, allocations: 51.41 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.933, allocations: 129.7 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.933, allocations: 25.7 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.9331, allocations: 92.14 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.9331, allocations: 15.86 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.9331, allocations: 25.72 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9333, allocations: 330.8 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.9333, allocations: 19.98 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.9334, allocations: 57.14 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.9336, allocations: 97 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9336, allocations: 0 / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002118/0.9338, allocations: 113.6 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.9339, allocations: 12.03 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9339, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9339, allocations: 0 / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.934, allocations: 15.98 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.934, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.9341, allocations: 11.88 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.9341, allocations: 8 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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.791e-05/0.9342, allocations: 129.7 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.9342, allocations: 11.91 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.9342, allocations: 8.375 kB / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9342, allocations: 0 / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.9342, allocations: 0 / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9342, allocations: 0 / 1.213 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.9347, allocations: 374.7 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9347, allocations: 0 / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.9347, allocations: 11.98 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9347, allocations: 4 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.9347, allocations: 4 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9347, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9347, allocations: 3.938 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.935, allocations: 211.5 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.9351, allocations: 92.95 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.9351, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.9352, allocations: 12.03 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.9353, allocations: 7.922 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.9353, allocations: 4 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.9353, allocations: 91.27 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.373e-06/0.9353, allocations: 0 / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002875/0.9356, allocations: 43.92 kB / 1.214 GB, free: 7.125 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000313/0.9359, allocations: 165.5 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.9362, allocations: 63.91 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9362, allocations: 0 / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.9363, allocations: 39.97 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.9366, allocations: 8 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.937, allocations: 201.1 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.9372, allocations: 0.6885 MB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.9373, allocations: 4 kB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.9373, allocations: 15.44 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9373, allocations: 0 / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of Templates: time 0.003876/0.9412, allocations: 1.478 MB / 1.216 GB, free: 4.43 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time