Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Hunt1979Light,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.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_latest_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.00558/0.00558, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.001396/0.001396, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 472.7 MB / 0.7453 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8916/0.8929, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003047/0.896, allocations: 1.52 MB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.8975, allocations: 0.7529 MB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.8976, allocations: 0 / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.8976, allocations: 7.922 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.8978, allocations: 23.8 kB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.8985, allocations: 127.6 kB / 1.228 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.8987, allocations: 87.7 kB / 1.228 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.8988, allocations: 11.98 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.899, allocations: 39.84 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.8991, allocations: 39.83 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.8991, allocations: 8 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.8993, allocations: 103.8 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.8994, allocations: 19.92 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.8994, allocations: 39.78 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.8997, allocations: 152.1 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8997, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8997, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8998, allocations: 0 / 1.228 GB, free: 10.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008476/0.9006, allocations: 486.2 kB / 1.229 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.9007, allocations: 12.03 kB / 1.229 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.9007, allocations: 8.891 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.9009, allocations: 181.5 kB / 1.229 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.9009, allocations: 38.27 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.901, allocations: 8.359 kB / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.9012, allocations: 77.72 kB / 1.229 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9013, allocations: 3.984 kB / 1.229 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.9013, allocations: 3.984 kB / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.9013, allocations: 4 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.9015, allocations: 51.91 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.9022, allocations: 316.7 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.9024, allocations: 78.53 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.9025, allocations: 40.86 kB / 1.23 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.9026, allocations: 4 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.9028, allocations: 91.36 kB / 1.23 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.9028, allocations: 0 / 1.23 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004784/0.9033, allocations: 173.5 kB / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.9033, allocations: 51.41 kB / 1.23 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.9035, allocations: 132.4 kB / 1.23 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.9035, allocations: 29.7 kB / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.9035, allocations: 96.31 kB / 1.23 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.9036, allocations: 23.8 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.9036, allocations: 37.7 kB / 1.23 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9038, allocations: 322.8 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.9039, allocations: 35.97 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.904, allocations: 73.06 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.9043, allocations: 105.1 kB / 1.231 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9043, allocations: 4 kB / 1.231 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002945/0.9046, allocations: 133.5 kB / 1.231 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9046, allocations: 9.719 kB / 1.231 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9046, allocations: 0 / 1.231 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9046, allocations: 4 kB / 1.231 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.9048, allocations: 24.22 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9048, allocations: 4 kB / 1.231 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.9049, allocations: 19.94 kB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.9049, allocations: 4 kB / 1.231 GB, free: 7.68 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,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.0001023/0.905, allocations: 130.4 kB / 1.231 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.9051, allocations: 7.953 kB / 1.231 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.9051, allocations: 12.72 kB / 1.231 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.9051, allocations: 0 / 1.231 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9051, allocations: 3.984 kB / 1.231 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9051, allocations: 4.094 kB / 1.231 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.9057, allocations: 434.4 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9057, allocations: 0 / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.9058, allocations: 11.98 kB / 1.232 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9058, allocations: 0 / 1.232 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.9058, allocations: 3.984 kB / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.9058, allocations: 7.938 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9059, allocations: 0 / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.9062, allocations: 231.3 kB / 1.232 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.9062, allocations: 81.06 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.9063, allocations: 7.984 kB / 1.232 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.9064, allocations: 15.92 kB / 1.232 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.9065, allocations: 7.984 kB / 1.232 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.9065, allocations: 4 kB / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.9065, allocations: 99.27 kB / 1.232 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9065, allocations: 4 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000294/0.9068, allocations: 43.92 kB / 1.232 GB, free: 6.488 MB / 0.9512 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.0003096/0.9072, allocations: 171.5 kB / 1.232 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.9075, allocations: 87.95 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9075, allocations: 3.938 kB / 1.232 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.9076, allocations: 51.91 kB / 1.232 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.9079, allocations: 21.64 kB / 1.232 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.9084, allocations: 215.6 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.9086, allocations: 0.7002 MB / 1.233 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.9087, allocations: 4.672 kB / 1.233 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.9087, allocations: 15.42 kB / 1.233 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.9087, allocations: 0 / 1.233 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of Templates: time 0.004561/0.9133, allocations: 1.812 MB / 1.235 GB, free: 3.379 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches