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.001511/0.001511, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001551/0.001551, allocations: 189.8 kB / 17.2 MB, free: 5.953 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: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.702/2.702, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 68.78 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7248, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002392/0.7272, allocations: 1.519 MB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7283, allocations: 0.7583 MB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.7284, allocations: 1.188 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.7284, allocations: 5.25 kB / 1.085 GB, free: 56 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.477e-05/0.7285, allocations: 20.33 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.729, allocations: 126 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.7291, allocations: 90.53 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.7292, allocations: 12.94 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.7293, allocations: 49.95 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.7294, allocations: 37.12 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.7295, allocations: 11.34 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.7297, allocations: 95.11 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.7297, allocations: 21.22 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.7298, allocations: 46.62 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.73, allocations: 141.1 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.73, allocations: 1.484 kB / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.73, allocations: 0 / 1.086 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7301, allocations: 0 / 1.086 GB, free: 15.77 MB / 0.8419 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.0008068/0.7309, allocations: 478 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.7309, allocations: 8.625 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.731, allocations: 14.95 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7311, allocations: 175.2 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.7312, allocations: 34.02 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.7312, allocations: 8.531 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.7315, allocations: 79.53 kB / 1.087 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7315, allocations: 4 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.7315, allocations: 4.656 kB / 1.087 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.7315, allocations: 5.312 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.7317, allocations: 44.55 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.7323, allocations: 332.4 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.7325, allocations: 73.61 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.7326, allocations: 37.56 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.7327, allocations: 0 / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.7329, allocations: 100.9 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.7329, allocations: 0 / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004863/0.7334, allocations: 167 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.7335, allocations: 57.97 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7336, allocations: 136.4 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.7336, allocations: 28.31 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.7337, allocations: 94.3 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.7337, allocations: 24.08 kB / 1.088 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.7338, allocations: 31.8 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7339, allocations: 323.7 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.7341, allocations: 32.25 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.7342, allocations: 72.81 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.7345, allocations: 105.7 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7345, allocations: 0 / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.7348, allocations: 144.8 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.7348, allocations: 6.25 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7348, allocations: 1.125 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7348, allocations: 2.5 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.7349, allocations: 15.22 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.735, allocations: 3.5 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.7351, allocations: 23.59 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.7351, allocations: 4.516 kB / 1.088 GB, free: 13.59 MB / 0.8419 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.0001111/0.7352, allocations: 129 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.7352, allocations: 8.875 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.7353, allocations: 11.27 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7353, allocations: 5.844 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7353, allocations: 0 / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7353, allocations: 2.125 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.736, allocations: 429.4 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.736, allocations: 1.094 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.7361, allocations: 10.36 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.7361, allocations: 1.094 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.7361, allocations: 18.23 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.7361, allocations: 5.031 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7361, allocations: 4.562 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.7365, allocations: 225.2 kB / 1.089 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.7366, allocations: 84.62 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.7366, allocations: 1.844 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.7367, allocations: 14.44 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.7368, allocations: 17.28 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7368, allocations: 4.938 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.7369, allocations: 103.6 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7369, allocations: 0 / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003171/0.7372, allocations: 42.11 kB / 1.089 GB, free: 12.71 MB / 0.8419 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.0003501/0.7376, allocations: 161.9 kB / 1.09 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.7379, allocations: 96.31 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7379, allocations: 0 / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.7381, allocations: 47.47 kB / 1.09 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.7384, allocations: 24.62 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.7388, allocations: 223.9 kB / 1.09 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.7392, allocations: 0.7063 MB / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.7392, allocations: 12.94 kB / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.7392, allocations: 1.188 kB / 1.091 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.004115/0.7433, allocations: 1.871 MB / 1.092 GB, free: 11.47 MB / 0.8419 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=400 -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/jenkins1/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