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.007383/0.007383, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001705/0.001705, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002612/1.025, allocations: 1.527 MB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001258/1.027, allocations: 0.7456 MB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/1.027, allocations: 4.719 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/1.027, allocations: 5.391 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/1.027, allocations: 19.52 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/1.027, allocations: 130.6 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/1.028, allocations: 88.73 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/1.028, allocations: 11.23 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/1.028, allocations: 42.22 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/1.028, allocations: 42.45 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/1.028, allocations: 7.406 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/1.028, allocations: 98.31 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/1.028, allocations: 20.97 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/1.028, allocations: 38.25 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/1.029, allocations: 157.7 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.029, allocations: 0.6094 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/1.029, allocations: 0 / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.029, allocations: 1.156 kB / 1.091 GB, free: 3.656 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.0007351/1.029, allocations: 480.3 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.029, allocations: 9.25 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.029, allocations: 10.67 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.029, allocations: 182 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/1.03, allocations: 33.64 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.03, allocations: 5.391 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.03, allocations: 82.5 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.03, allocations: 4.719 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.03, allocations: 0 / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.03, allocations: 6.125 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/1.03, allocations: 48.17 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/1.031, allocations: 323.9 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/1.031, allocations: 70.31 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/1.031, allocations: 44 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.031, allocations: 5.641 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/1.031, allocations: 96.59 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.031, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005158/1.032, allocations: 171 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/1.032, allocations: 53.67 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/1.032, allocations: 135.5 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/1.032, allocations: 30.77 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/1.032, allocations: 93.34 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/1.032, allocations: 25.47 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/1.032, allocations: 34.83 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.246e-05/1.032, allocations: 328.7 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.032, allocations: 31.39 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/1.032, allocations: 65.64 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/1.033, allocations: 110 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.033, allocations: 5.219 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003009/1.033, allocations: 135 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.033, allocations: 6.375 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.033, allocations: 1.406 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.033, allocations: 2.719 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.033, allocations: 19.78 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.033, allocations: 3.453 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.033, allocations: 15.47 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.033, allocations: 8.625 kB / 1.093 GB, free: 1.473 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.682e-05/1.033, allocations: 132.7 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/1.033, allocations: 13.52 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/1.033, allocations: 10.95 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/1.033, allocations: 1.844 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.033, allocations: 0.75 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.033, allocations: 0.7188 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/1.034, allocations: 434.4 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.034, allocations: 0.6562 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.532e-05/1.034, allocations: 9.75 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.034, allocations: 1.094 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.034, allocations: 2.344 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.034, allocations: 5.438 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.034, allocations: 3.938 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/1.034, allocations: 227 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/1.034, allocations: 83.27 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/1.034, allocations: 6.234 kB / 1.094 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/1.035, allocations: 13.23 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/1.035, allocations: 17.36 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.035, allocations: 5.031 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.764e-05/1.035, allocations: 103.7 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 4 kB / 1.094 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003034/1.035, allocations: 45.55 kB / 1.094 GB, free: 0.5859 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.0003166/1.035, allocations: 161.4 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003391/1.036, allocations: 94.36 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.036, allocations: 3.938 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.036, allocations: 43.61 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.036, allocations: 15.11 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.037, allocations: 206.4 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.037, allocations: 0.697 MB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.324e-05/1.037, allocations: 9.031 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/1.037, allocations: 17.44 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.037, allocations: 0 / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.005522/1.043, allocations: 1.813 MB / 1.097 GB, free: 15.4 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