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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00818/0.00818, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001664/0.001664, allocations: 200 kB / 16.68 MB, free: 5.922 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.388/1.388, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.001, allocations: 140.4 MB / 1.088 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003317/1.004, allocations: 1.523 MB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001523/1.006, allocations: 0.7453 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/1.006, allocations: 1.031 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/1.006, allocations: 13.09 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/1.006, allocations: 20.36 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/1.007, allocations: 125.7 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/1.007, allocations: 87.42 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/1.007, allocations: 12.75 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.007, allocations: 41.72 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/1.007, allocations: 45.8 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/1.007, allocations: 8 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/1.007, allocations: 98.34 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.597e-05/1.007, allocations: 21.88 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/1.007, allocations: 37.28 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/1.008, allocations: 159.5 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.008, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/1.008, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.008, allocations: 1.344 kB / 1.091 GB, free: 3.836 MB / 0.8575 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.0007479/1.008, allocations: 478.7 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.009, allocations: 9.484 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/1.009, allocations: 9.875 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.009, allocations: 176.3 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/1.009, allocations: 37.52 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/1.009, allocations: 4.672 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/1.009, allocations: 87.39 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.009, allocations: 0 / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.009, allocations: 4.859 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.009, allocations: 1.562 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/1.009, allocations: 48.39 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/1.01, allocations: 316.4 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/1.01, allocations: 77.47 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.01, allocations: 40.41 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.01, allocations: 1.797 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.01, allocations: 100.4 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/1.01, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005136/1.011, allocations: 169.9 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.011, allocations: 58.52 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.011, allocations: 137 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.011, allocations: 32.12 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/1.011, allocations: 92.61 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/1.011, allocations: 21.55 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/1.011, allocations: 35.66 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/1.011, allocations: 328.8 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.012, allocations: 27.19 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/1.012, allocations: 77.23 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.012, allocations: 101.8 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.012, allocations: 0.9062 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/1.012, allocations: 136.4 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.012, allocations: 5.469 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.012, allocations: 6 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.012, allocations: 2.062 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.012, allocations: 20.03 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.012, allocations: 3.453 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.013, allocations: 25.91 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/1.013, allocations: 5.203 kB / 1.093 GB, free: 1.652 MB / 0.8575 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 7.865e-05/1.013, allocations: 129.8 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/1.013, allocations: 7.562 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/1.013, allocations: 12.2 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.013, allocations: 1.5 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.013, allocations: 0.6875 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.013, allocations: 0.7031 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/1.013, allocations: 426.4 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.013, allocations: 0.9375 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/1.013, allocations: 9.625 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/1.013, allocations: 1.656 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.013, allocations: 6.578 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.013, allocations: 6.094 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.013, allocations: 0 / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/1.014, allocations: 233.3 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/1.014, allocations: 88.7 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/1.014, allocations: 5.406 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/1.014, allocations: 14.02 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/1.014, allocations: 12.88 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/1.014, allocations: 9.609 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.516e-05/1.014, allocations: 96.86 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.403e-06/1.014, allocations: 0 / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003589/1.014, allocations: 48.44 kB / 1.094 GB, free: 0.7734 MB / 0.8575 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 (10): * Single equations (assignments): 7 * 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.0003455/1.015, allocations: 164.8 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003239/1.015, allocations: 90.53 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.015, allocations: 0 / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/1.015, allocations: 54.55 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/1.016, allocations: 14.61 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/1.016, allocations: 200.5 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/1.016, allocations: 0.7008 MB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.491e-05/1.016, allocations: 11.55 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/1.016, allocations: 14.75 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.016, allocations: 0 / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.0055/1.022, allocations: 1.852 MB / 1.097 GB, free: 15.57 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches