Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.00109/0.00109, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.582/1.582, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008928/0.0008931, allocations: 102.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.018e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3081, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9769/1.285, allocations: 151.3 MB / 1.36 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/1.285, allocations: 84.05 kB / 1.36 GB, free: 19.08 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.009538/1.295, allocations: 3.184 MB / 1.363 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.295, allocations: 0 / 1.363 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.295, allocations: 0 / 1.363 GB, free: 34.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005774/1.295, allocations: 462.6 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.295, allocations: 7.688 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/1.296, allocations: 7.75 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/1.296, allocations: 191 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.012e-05/1.296, allocations: 32.73 kB / 1.364 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/1.296, allocations: 8.875 kB / 1.364 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.296, allocations: 71.66 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/1.296, allocations: 3.938 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.296, allocations: 0 / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.296, allocations: 0 / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/1.296, allocations: 32.14 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/1.297, allocations: 338.7 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/1.297, allocations: 56.78 kB / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/1.297, allocations: 37.59 kB / 1.365 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/1.297, allocations: 4 kB / 1.365 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/1.297, allocations: 94.09 kB / 1.365 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.634e-06/1.297, allocations: 0 / 1.365 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002375/1.297, allocations: 117.8 kB / 1.365 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.297, allocations: 55.34 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/1.297, allocations: 123.2 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.297, allocations: 25.7 kB / 1.365 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/1.297, allocations: 97.61 kB / 1.365 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/1.298, allocations: 25.2 kB / 1.365 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.298, allocations: 0 / 1.365 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.373e-05/1.298, allocations: 320.6 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/1.298, allocations: 26.44 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/1.298, allocations: 58.14 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/1.298, allocations: 29.67 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.298, allocations: 0 / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001555/1.298, allocations: 116.4 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.298, allocations: 3.812 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.298, allocations: 3.844 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.298, allocations: 4.125 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.298, allocations: 28.09 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.298, allocations: 3.953 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.298, allocations: 18.78 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/1.298, allocations: 7.75 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.861e-05/1.298, allocations: 113.6 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/1.298, allocations: 11.75 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/1.298, allocations: 13.84 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.298, allocations: 0 / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.298, allocations: 0 / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/1.298, allocations: 5.594 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/1.299, allocations: 415.2 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.299, allocations: 1.312 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/1.299, allocations: 14.73 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.299, allocations: 3.844 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/1.299, allocations: 8.594 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.299, allocations: 0 / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.299, allocations: 5.875 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/1.299, allocations: 209.5 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/1.299, allocations: 82.42 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/1.299, allocations: 7.812 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.299, allocations: 18.75 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/1.299, allocations: 13.89 kB / 1.367 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.3, allocations: 5.5 kB / 1.367 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.548e-05/1.3, allocations: 102.5 kB / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.3, allocations: 0 / 1.367 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003259/1.3, allocations: 56.11 kB / 1.367 GB, free: 31.98 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003803/1.3, allocations: 168.7 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001643/1.3, allocations: 74.34 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.3, allocations: 0 / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/1.301, allocations: 36.16 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/1.301, allocations: 16.69 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/1.301, allocations: 133.2 kB / 1.367 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/1.301, allocations: 0.6975 MB / 1.368 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.508e-05/1.301, allocations: 11.47 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/1.301, allocations: 14.55 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.301, allocations: 0 / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.004398/1.306, allocations: 1.801 MB / 1.37 GB, free: 30.92 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches