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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001399/0.001399, allocations: 110 kB / 16.37 MB, free: 6.469 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.001187/0.001187, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 67.02 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2888, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002859/0.2918, allocations: 1.526 MB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2931, allocations: 0.7595 MB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.2932, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.2932, allocations: 11.88 kB / 0.9534 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.2933, allocations: 19.84 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.2939, allocations: 127.6 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.294, allocations: 87.7 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.2941, allocations: 8 kB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.2942, allocations: 43.83 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.2943, allocations: 35.84 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2943, allocations: 8 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2945, allocations: 103.8 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.2945, allocations: 23.91 kB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.2946, allocations: 39.78 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2948, allocations: 147.6 kB / 0.954 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2948, allocations: 4 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2948, allocations: 0 / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2949, allocations: 0 / 0.954 GB, free: 5.137 MB / 0.7325 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.0008316/0.2957, allocations: 483.2 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2957, allocations: 12.03 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.2958, allocations: 8.844 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2959, allocations: 180.1 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/0.296, allocations: 38.27 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.296, allocations: 4.375 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2962, allocations: 81.7 kB / 0.9548 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2963, allocations: 3.938 kB / 0.9548 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2963, allocations: 4 kB / 0.9548 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.2963, allocations: 7.984 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.2965, allocations: 47.95 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.297, allocations: 316.8 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.2972, allocations: 78.58 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2974, allocations: 36.83 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2974, allocations: 0 / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.2976, allocations: 95.36 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.2976, allocations: 0 / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004768/0.2981, allocations: 173.5 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2982, allocations: 51.41 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2983, allocations: 136.7 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2983, allocations: 29.7 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.2984, allocations: 96.36 kB / 0.9558 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2984, allocations: 23.66 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.2985, allocations: 33.7 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2986, allocations: 330.7 kB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2987, allocations: 27.98 kB / 0.9562 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2988, allocations: 73.12 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2991, allocations: 113 kB / 0.9564 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2991, allocations: 0 / 0.9564 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000287/0.2994, allocations: 137.8 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2994, allocations: 8 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2994, allocations: 0 / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2994, allocations: 4 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2996, allocations: 23.86 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2996, allocations: 3.938 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2997, allocations: 11.98 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2997, allocations: 12.11 kB / 0.9565 GB, free: 2.223 MB / 0.7325 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.0001/0.2998, allocations: 125.8 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.2998, allocations: 11.81 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.2999, allocations: 12.66 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2999, allocations: 0 / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2999, allocations: 4 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2999, allocations: 0 / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.3005, allocations: 434.4 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3005, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.3006, allocations: 11.98 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3006, allocations: 96 / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3006, allocations: 0 / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3007, allocations: 7.938 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3007, allocations: 3.984 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.301, allocations: 231.3 kB / 0.9574 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.3011, allocations: 81.02 kB / 0.9574 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3011, allocations: 4 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3012, allocations: 15.92 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.3013, allocations: 7.984 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3013, allocations: 7.984 kB / 0.9575 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.3014, allocations: 99.27 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3014, allocations: 4 kB / 0.9576 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003149/0.3017, allocations: 40 kB / 0.9576 GB, free: 1.039 MB / 0.7325 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.0003394/0.3021, allocations: 171.8 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.3024, allocations: 91.94 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3024, allocations: 0 / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3025, allocations: 55.84 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3028, allocations: 20.23 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.3033, allocations: 199.7 kB / 0.9581 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3035, allocations: 0.7002 MB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.3036, allocations: 8.672 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3036, allocations: 11.44 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3036, allocations: 0 / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.00461/0.3082, allocations: 1.813 MB / 0.9606 GB, free: 13.94 MB / 0.7481 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 -s cvode -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/jenkins1/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