Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 172.9 kB / 492.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.799/1.799, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008589/0.0008587, allocations: 88 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.66e-05, allocations: 1.875 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3058, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9754/1.281, allocations: 151.2 MB / 1.36 GB, free: 18.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/1.282, allocations: 83.45 kB / 1.36 GB, free: 18.99 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01029/1.292, allocations: 3.096 MB / 1.363 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.635e-06/1.292, allocations: 0 / 1.363 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.518e-06/1.292, allocations: 3.844 kB / 1.363 GB, free: 34.52 MB / 0.8386 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.0005713/1.292, allocations: 442.2 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.293, allocations: 11.28 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/1.293, allocations: 9.094 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/1.293, allocations: 178.5 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/1.293, allocations: 9.375 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/1.293, allocations: 7.469 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.293, allocations: 80.39 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.293, allocations: 0 / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/1.293, allocations: 3.844 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/1.293, allocations: 1.547 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/1.293, allocations: 38.31 kB / 1.364 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.294, allocations: 327 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.294, allocations: 57.05 kB / 1.364 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/1.294, allocations: 33.7 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/1.294, allocations: 10.8 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/1.294, allocations: 91.5 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/1.294, allocations: 0 / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003045/1.294, allocations: 136.9 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/1.294, allocations: 62.27 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/1.295, allocations: 111.1 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.295, allocations: 31.58 kB / 1.365 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/1.295, allocations: 95.38 kB / 1.365 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/1.295, allocations: 22.28 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/1.295, allocations: 3.312 kB / 1.365 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.295, allocations: 320.9 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/1.295, allocations: 18.62 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/1.295, allocations: 71.61 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/1.295, allocations: 28.48 kB / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.295, allocations: 0 / 1.365 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001988/1.295, allocations: 117 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.295, allocations: 11.66 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.295, allocations: 2.672 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.295, allocations: 3.844 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.295, allocations: 21.27 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.295, allocations: 3.844 kB / 1.365 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/1.296, allocations: 11.7 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/1.296, allocations: 10.3 kB / 1.365 GB, free: 32.7 MB / 0.8386 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/1.296, allocations: 120.5 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/1.296, allocations: 3.844 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/1.296, allocations: 9.328 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.296, allocations: 3.844 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.296, allocations: 0 / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.296, allocations: 0 / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/1.296, allocations: 427.5 kB / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.296, allocations: 96 / 1.366 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/1.296, allocations: 13.44 kB / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.296, allocations: 96 / 1.366 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/1.296, allocations: 13.33 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.296, allocations: 0 / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.296, allocations: 3.953 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/1.297, allocations: 232.2 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/1.297, allocations: 86.2 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/1.297, allocations: 3.25 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/1.297, allocations: 9 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/1.297, allocations: 11.23 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.297, allocations: 6.062 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.827e-05/1.297, allocations: 98.33 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.297, allocations: 0 / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003876/1.297, allocations: 51.16 kB / 1.366 GB, free: 31.93 MB / 0.8386 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,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/1.298, allocations: 184.2 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001971/1.298, allocations: 82.92 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.298, allocations: 0 / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/1.298, allocations: 39.89 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/1.298, allocations: 13.91 kB / 1.367 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/1.299, allocations: 124.2 kB / 1.367 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.299, allocations: 0.6942 MB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.797e-05/1.299, allocations: 5.469 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/1.299, allocations: 15.16 kB / 1.368 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.299, allocations: 0 / 1.368 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.004663/1.304, allocations: 1.764 MB / 1.369 GB, free: 30.86 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pUp,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time