Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001241/0.001241, allocations: 174.1 kB / 498.1 MB, free: 5.723 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.542/1.542, allocations: 223.2 MB / 0.7948 GB, free: 17.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.001142/0.001142, allocations: 95.14 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 6.594 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.324, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5095, allocations: 151.1 MB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5098, allocations: 83.94 kB / 1.371 GB, free: 10.77 MB / 0.8698 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.008565/0.5183, allocations: 2.93 MB / 1.373 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5184, allocations: 4 kB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5184, allocations: 0 / 1.373 GB, free: 7.832 MB / 0.8698 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.0005217/0.5189, allocations: 458.4 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5189, allocations: 8.031 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.519, allocations: 11.86 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5191, allocations: 174.9 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.5192, allocations: 0 / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.5192, allocations: 11.94 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5194, allocations: 73.64 kB / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5194, allocations: 0 / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5194, allocations: 4 kB / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5194, allocations: 0 / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.5196, allocations: 43.97 kB / 1.374 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.5201, allocations: 308.7 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.5202, allocations: 50.5 kB / 1.375 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.5203, allocations: 4 kB / 1.375 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.5204, allocations: 75.5 kB / 1.375 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5205, allocations: 4 kB / 1.375 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004178/0.5209, allocations: 149.5 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.5209, allocations: 59.34 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.521, allocations: 112.9 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5211, allocations: 25.7 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.5211, allocations: 92.33 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.5212, allocations: 23.86 kB / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5212, allocations: 0 / 1.375 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5213, allocations: 314.8 kB / 1.375 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.5214, allocations: 23.98 kB / 1.375 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.5215, allocations: 73.5 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.5216, allocations: 27.98 kB / 1.375 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5216, allocations: 4 kB / 1.375 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002257/0.5218, allocations: 121.4 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5218, allocations: 7.938 kB / 1.376 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5218, allocations: 3.938 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5219, allocations: 4 kB / 1.376 GB, free: 5.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.522, allocations: 15.98 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.522, allocations: 8.109 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.522, allocations: 11.94 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.5221, allocations: 4 kB / 1.376 GB, free: 5.32 MB / 0.8698 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,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 (11): * Single equations (assignments): 11 * 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.0001009/0.5222, allocations: 123.3 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.5222, allocations: 7.906 kB / 1.376 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.5222, allocations: 12.36 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5222, allocations: 0 / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5222, allocations: 0 / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5222, allocations: 7.953 kB / 1.376 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.5227, allocations: 374.5 kB / 1.376 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5227, allocations: 4 kB / 1.376 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.5228, allocations: 7.938 kB / 1.376 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5228, allocations: 0 / 1.376 GB, free: 4.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5228, allocations: 7.984 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.5228, allocations: 7.953 kB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5228, allocations: 0 / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.5231, allocations: 207.4 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.5232, allocations: 89.03 kB / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5232, allocations: 8 kB / 1.376 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.5233, allocations: 8 kB / 1.376 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.5233, allocations: 7.938 kB / 1.376 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.5233, allocations: 8 kB / 1.376 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.5234, allocations: 91.27 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5234, allocations: 0 / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003092/0.5237, allocations: 59.86 kB / 1.377 GB, free: 4.211 MB / 0.8698 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,bli.occ,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 (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.0003651/0.5241, allocations: 173.1 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.5244, allocations: 76.38 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5244, allocations: 0 / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.5245, allocations: 40.28 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.5247, allocations: 5.031 kB / 1.377 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.5251, allocations: 215.2 kB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5253, allocations: 0.6926 MB / 1.378 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.5254, allocations: 8.172 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.5254, allocations: 11.44 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5254, allocations: 0 / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of Templates: time 0.003956/0.5294, allocations: 1.503 MB / 1.379 GB, free: 1.449 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,time