Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001583/0.001583, allocations: 187.9 kB / 0.4902 GB, free: 2.297 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001203/0.001203, allocations: 96.27 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 10.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.322, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.5324, allocations: 152.1 MB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.5328, allocations: 75.95 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.009626/0.5424, allocations: 3.113 MB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5424, allocations: 0 / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5425, allocations: 0 / 1.381 GB, free: 14.27 MB / 0.8855 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.0005798/0.543, allocations: 462.4 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5431, allocations: 8.562 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.5431, allocations: 11.86 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5433, allocations: 167 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.5433, allocations: 7.984 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.5434, allocations: 8 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.5436, allocations: 89.58 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5436, allocations: 4 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.5436, allocations: 11.98 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.5437, allocations: 0 / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.5438, allocations: 47.97 kB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.5444, allocations: 332.6 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.5446, allocations: 74.52 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.5446, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.5448, allocations: 99.36 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 3.366e-06/0.5448, allocations: 3.984 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0005109/0.5454, allocations: 201.4 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.5454, allocations: 51.41 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.5455, allocations: 121 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5456, allocations: 33.7 kB / 1.383 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.5456, allocations: 88.28 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.5457, allocations: 27.88 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.5457, allocations: 4 kB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5458, allocations: 318.8 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.5459, allocations: 31.97 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.546, allocations: 77.94 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.5461, allocations: 39.98 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5461, allocations: 0 / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002605/0.5464, allocations: 141.4 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5464, allocations: 4 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5464, allocations: 8.141 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5464, allocations: 4 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.5466, allocations: 19.98 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5466, allocations: 7.953 kB / 1.383 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.5466, allocations: 4 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.5467, allocations: 8 kB / 1.383 GB, free: 11.55 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5468, allocations: 125.8 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.5468, allocations: 11.91 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.5468, allocations: 12.38 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5468, allocations: 384 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5468, allocations: 0 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5469, allocations: 3.953 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.5474, allocations: 434.3 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5474, allocations: 4 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.5475, allocations: 7.984 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5475, allocations: 4 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5475, allocations: 4 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5475, allocations: 7.891 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5475, allocations: 3.938 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.5479, allocations: 255.3 kB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.5479, allocations: 84.95 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.548, allocations: 11.98 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-05/0.5481, allocations: 4 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.5481, allocations: 11.94 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.5482, allocations: 4 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.5482, allocations: 95.27 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5483, allocations: 0 / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000341/0.5486, allocations: 55.98 kB / 1.384 GB, free: 10.34 MB / 0.8855 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) * 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 (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.0004268/0.549, allocations: 176 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.5493, allocations: 103.9 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5493, allocations: 0 / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.5495, allocations: 51.97 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.5497, allocations: 9.109 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.5501, allocations: 233.2 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.5504, allocations: 0.7004 MB / 1.386 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.5504, allocations: 8 kB / 1.386 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.5505, allocations: 11.44 kB / 1.386 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5505, allocations: 0 / 1.386 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of Templates: time 0.004394/0.5549, allocations: 1.754 MB / 1.387 GB, free: 7.273 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","../files/Buildings_latest_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