Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001384, allocations: 113.5 kB / 16.42 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.001771, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7149, allocations: 159.1 MB / 1.221 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002786/0.7178, allocations: 1.538 MB / 1.222 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.7191, allocations: 0.776 MB / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.7192, allocations: 0 / 1.223 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.7193, allocations: 11.86 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.7194, allocations: 19.8 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.7199, allocations: 127.6 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.7201, allocations: 103.6 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.7202, allocations: 16 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.7203, allocations: 39.89 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.7204, allocations: 55.75 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.7204, allocations: 8 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.7206, allocations: 91.86 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.7206, allocations: 27.84 kB / 1.224 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.7207, allocations: 43.78 kB / 1.224 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.721, allocations: 175.3 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.721, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/0.721, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.721, allocations: 0 / 1.224 GB, free: 15.38 MB / 0.9512 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.0008391/0.7218, allocations: 0.4962 MB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7219, allocations: 8.031 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.7219, allocations: 12.78 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7221, allocations: 188.1 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.7221, allocations: 8.375 kB / 1.225 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.7222, allocations: 4.375 kB / 1.225 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.7224, allocations: 85.89 kB / 1.225 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7224, allocations: 0 / 1.225 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.7224, allocations: 4 kB / 1.225 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.7224, allocations: 4 kB / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.7226, allocations: 47.95 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.7232, allocations: 324.8 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.7234, allocations: 90.67 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.7235, allocations: 36.84 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.7236, allocations: 4 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.7238, allocations: 95.36 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.7238, allocations: 0 / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0004718/0.7243, allocations: 189.3 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.7243, allocations: 51.41 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7245, allocations: 139.9 kB / 1.226 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.7245, allocations: 29.7 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.7246, allocations: 96.12 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.7246, allocations: 27.66 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.7247, allocations: 37.69 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7248, allocations: 322.8 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.7249, allocations: 31.97 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.725, allocations: 61.14 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.7252, allocations: 113 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7252, allocations: 0 / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002685/0.7255, allocations: 149.3 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7255, allocations: 8.031 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7255, allocations: 0 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7255, allocations: 7.984 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.7257, allocations: 15.98 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7257, allocations: 0 / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7258, allocations: 11.94 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.7258, allocations: 11.98 kB / 1.226 GB, free: 12.43 MB / 0.9512 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.7259, allocations: 130.2 kB / 1.227 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.7259, allocations: 11.81 kB / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.7263, allocations: 174.3 kB / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7263, allocations: 0 / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7263, allocations: 0 / 1.227 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.7264, allocations: 85.02 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.7264, allocations: 11.92 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.7265, allocations: 15.94 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.7266, allocations: 11.98 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000353/0.727, allocations: 236.9 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003375/0.7273, allocations: 328.2 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001066/0.7274, allocations: 47.97 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.7275, allocations: 107.3 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of Backend: time 4.11e-07/0.7275, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.7282, allocations: 209 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006286/0.7288, allocations: 0.6569 MB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.004819/0.7337, allocations: 1.956 MB / 1.23 GB, free: 8.383 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches