Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001128/0.001129, allocations: 185.1 kB / 498.1 MB, free: 5.715 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.727/1.727, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.00101/0.00101, allocations: 98.78 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 10.34 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3121, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.5064, allocations: 151.5 MB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5067, allocations: 83.95 kB / 1.371 GB, free: 10.51 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.009733/0.5165, allocations: 3.22 MB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5165, allocations: 0 / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5165, allocations: 0 / 1.374 GB, free: 7.285 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006966/0.5172, allocations: 478.3 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5173, allocations: 8.031 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.5173, allocations: 11.86 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.5175, allocations: 186.7 kB / 1.375 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5175, allocations: 3.984 kB / 1.375 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5175, allocations: 4 kB / 1.375 GB, free: 6.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.5177, allocations: 73.64 kB / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5178, allocations: 0 / 1.375 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5178, allocations: 4 kB / 1.375 GB, free: 6.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5178, allocations: 4 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.5179, allocations: 47.91 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.5186, allocations: 332.8 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5188, allocations: 62.55 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.5188, allocations: 4 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.519, allocations: 91.39 kB / 1.375 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.519, allocations: 4 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003971/0.5194, allocations: 165.4 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5195, allocations: 55.41 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.5196, allocations: 117.3 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.5196, allocations: 29.7 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.5197, allocations: 96.3 kB / 1.376 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.5197, allocations: 27.86 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.5198, allocations: 3.938 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5199, allocations: 322.8 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.52, allocations: 27.98 kB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.722e-05/0.5201, allocations: 65.12 kB / 1.376 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.723e-05/0.5202, allocations: 39.94 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5202, allocations: 3.984 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00024/0.5204, allocations: 129.5 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5205, allocations: 13.19 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5205, allocations: 0 / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5205, allocations: 4 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5206, allocations: 15.98 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5206, allocations: 3.953 kB / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5208, allocations: 23.92 kB / 1.376 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.5208, allocations: 4 kB / 1.376 GB, free: 4.629 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: 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 () * Number of clocked 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 0.0001084/0.5209, allocations: 127.2 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5209, allocations: 7.906 kB / 1.376 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.5213, allocations: 145.9 kB / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5213, allocations: 0 / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5213, allocations: 0 / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5213, allocations: 3.953 kB / 1.377 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.5219, allocations: 434.4 kB / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5219, allocations: 0 / 1.377 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.522, allocations: 19.91 kB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.522, allocations: 4 kB / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.522, allocations: 0 / 1.377 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.522, allocations: 7.953 kB / 1.377 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.522, allocations: 0 / 1.377 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.5223, allocations: 232.3 kB / 1.377 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.5224, allocations: 85.02 kB / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.5224, allocations: 0 / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5226, allocations: 19.98 kB / 1.377 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.5226, allocations: 15.94 kB / 1.377 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5226, allocations: 7.984 kB / 1.377 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.3e-05/0.5227, allocations: 99.27 kB / 1.377 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5227, allocations: 3.938 kB / 1.377 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003457/0.5231, allocations: 55.92 kB / 1.378 GB, free: 3.277 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: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.000406/0.5235, allocations: 169.3 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.5237, allocations: 91.83 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5238, allocations: 0 / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.5239, allocations: 55.89 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.5241, allocations: 12.25 kB / 1.378 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.5246, allocations: 227.1 kB / 1.378 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5249, allocations: 0.6965 MB / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.5249, allocations: 12.42 kB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.525, allocations: 11.44 kB / 1.379 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/0.525, allocations: 0 / 1.379 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of Templates: time 0.004678/0.5297, allocations: 1.818 MB / 1.381 GB, free: 156 kB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches