Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009338/0.0009334, allocations: 186.8 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6853, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001746/0.6871, allocations: 1.223 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.6888, allocations: 0.748 MB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.6889, allocations: 4 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.689, allocations: 11.92 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.6891, allocations: 3.938 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.6898, allocations: 103.8 kB / 1.026 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.69, allocations: 83.75 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.6901, allocations: 8 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.6902, allocations: 39.8 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.6904, allocations: 43.81 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.6904, allocations: 4 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.6906, allocations: 87.84 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.6907, allocations: 11.98 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.6908, allocations: 61.5 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.691, allocations: 101.8 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.691, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.691, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.691, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 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.0007694/0.6918, allocations: 454.5 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6919, allocations: 12.03 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.6919, allocations: 4.938 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.6921, allocations: 184.1 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.6922, allocations: 384 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.6922, allocations: 4.375 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.6924, allocations: 89.89 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6924, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.6924, allocations: 3.984 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6924, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.6926, allocations: 51.91 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.6932, allocations: 324.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.6934, allocations: 66.55 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.6935, allocations: 32.84 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6935, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.6937, allocations: 95.39 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.6937, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004242/0.6942, allocations: 165.5 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.6942, allocations: 59.41 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.6944, allocations: 133.6 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6944, allocations: 29.7 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.6944, allocations: 88.38 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.6945, allocations: 31.78 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.6945, allocations: 17.72 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6947, allocations: 326.8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.6948, allocations: 27.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.6949, allocations: 77.12 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.6951, allocations: 109 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6951, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002713/0.6954, allocations: 129.4 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6954, allocations: 4 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6954, allocations: 4.125 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.6954, allocations: 4 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6955, allocations: 15.98 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6956, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.6957, allocations: 23.92 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.6957, allocations: 4 kB / 1.029 GB, free: 10.54 MB / 0.7794 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.6958, allocations: 130.6 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.6958, allocations: 7.906 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.6962, allocations: 149.9 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6962, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6962, allocations: 3.938 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6962, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.6968, allocations: 442.3 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6968, allocations: 96 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.6969, allocations: 15.92 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.6969, allocations: 3.984 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6969, allocations: 8 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.697, allocations: 0 / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.697, allocations: 11.92 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.6973, allocations: 227.4 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.6973, allocations: 85.02 kB / 1.03 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.6974, allocations: 3.984 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6975, allocations: 12 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.6975, allocations: 19.92 kB / 1.03 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.6976, allocations: 3.984 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.6976, allocations: 99.27 kB / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6976, allocations: 0 / 1.03 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000339/0.698, allocations: 40 kB / 1.03 GB, free: 9.188 MB / 0.7794 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 (occ.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003562/0.6984, allocations: 162.1 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.6986, allocations: 88.11 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6986, allocations: 3.938 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.6987, allocations: 51.84 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.699, allocations: 22.75 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.6995, allocations: 264.7 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.6998, allocations: 0.7004 MB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.6998, allocations: 15.44 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6998, allocations: 0 / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.003879/0.7037, allocations: 1.812 MB / 1.033 GB, free: 6.035 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches