Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 78.33 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003043/0.3299, allocations: 1.533 MB / 1.119 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3315, allocations: 0.7907 MB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3315, allocations: 0 / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.3316, allocations: 7.922 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3317, allocations: 23.8 kB / 1.12 GB, free: 164 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.3323, allocations: 163.5 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3326, allocations: 87.7 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3327, allocations: 11.94 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.3329, allocations: 51.77 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.333, allocations: 39.83 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3331, allocations: 4 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.3334, allocations: 143.8 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.3335, allocations: 23.91 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.3335, allocations: 27.86 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3339, allocations: 171.5 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3339, allocations: 0 / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3339, allocations: 4 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3339, allocations: 0 / 1.12 GB, free: 15.45 MB / 1.076 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.000886/0.3348, allocations: 401.2 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3348, allocations: 15.97 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.3351, allocations: 24.83 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3354, allocations: 145.5 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3355, allocations: 81.67 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3355, allocations: 8.375 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.3357, allocations: 77.77 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3357, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3358, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3358, allocations: 3.938 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.336, allocations: 47.95 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.3365, allocations: 264.3 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3368, allocations: 70.56 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3369, allocations: 32.98 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.3369, allocations: 7.984 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.3372, allocations: 95.3 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3372, allocations: 4 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.00057/0.3378, allocations: 173.5 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3378, allocations: 51.41 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.338, allocations: 137.8 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.338, allocations: 25.7 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3381, allocations: 100.3 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3381, allocations: 19.86 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.3382, allocations: 29.7 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3384, allocations: 330.8 kB / 1.122 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3385, allocations: 31.92 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3387, allocations: 73.12 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.3389, allocations: 105 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.339, allocations: 4 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003234/0.3393, allocations: 129.5 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3393, allocations: 8 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3393, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3393, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3395, allocations: 19.92 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3395, allocations: 4.109 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3396, allocations: 23.89 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3396, allocations: 11.98 kB / 1.123 GB, free: 12.69 MB / 1.076 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.0001387/0.3398, allocations: 125.8 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3398, allocations: 7.953 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.3398, allocations: 12.78 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3398, allocations: 4 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3398, allocations: 3.938 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3399, allocations: 3.984 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.3406, allocations: 362.4 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3406, allocations: 4.094 kB / 1.123 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.3406, allocations: 7.938 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3406, allocations: 3.984 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3407, allocations: 4 kB / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3407, allocations: 0 / 1.123 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3407, allocations: 3.984 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3411, allocations: 243.3 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3411, allocations: 11.89 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3411, allocations: 4.094 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3412, allocations: 7.984 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.3413, allocations: 19.91 kB / 1.124 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3413, allocations: 11.92 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.273e-05/0.3414, allocations: 101.6 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003595/0.3418, allocations: 39.94 kB / 1.124 GB, free: 11.67 MB / 1.076 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.0003977/0.3422, allocations: 164.9 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.3425, allocations: 91.81 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3425, allocations: 0 / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.3426, allocations: 48.16 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.343, allocations: 21.78 kB / 1.124 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.3435, allocations: 207.7 kB / 1.124 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.3436, allocations: 83.88 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.336e-05/0.3437, allocations: 8.5 kB / 1.124 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.3437, allocations: 16.48 kB / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of SimCode: time 6.32e-07/0.3437, allocations: 0 / 1.124 GB, free: 11 MB / 1.076 GB Notification: Performance of Templates: time 0.005656/0.3494, allocations: 1.868 MB / 1.126 GB, free: 9.156 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.619069459033199]