Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.91 kB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 160.7 MB / 1.214 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002619/0.3208, allocations: 1.527 MB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3221, allocations: 0.7719 MB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.3222, allocations: 0 / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.3222, allocations: 11.92 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.3223, allocations: 11.86 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.3228, allocations: 131.5 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3229, allocations: 91.7 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.323, allocations: 4 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3231, allocations: 51.77 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.43e-05/0.3232, allocations: 39.83 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3232, allocations: 8 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.3234, allocations: 99.89 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.3234, allocations: 19.97 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.3235, allocations: 43.67 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3237, allocations: 155.4 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3237, allocations: 4 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3237, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3238, allocations: 0 / 1.217 GB, free: 14.08 MB / 0.9669 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.0008165/0.3246, allocations: 478.3 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3246, allocations: 16.02 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.3247, allocations: 8.891 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3248, allocations: 176.3 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.3249, allocations: 46.19 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3249, allocations: 8.375 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3251, allocations: 77.77 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3252, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3252, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3252, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3254, allocations: 51.95 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.3259, allocations: 324.6 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3262, allocations: 62.55 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3263, allocations: 36.83 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3263, allocations: 4 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3266, allocations: 111.3 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3266, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0005102/0.3271, allocations: 161.8 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.3271, allocations: 55.41 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3273, allocations: 134.1 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3273, allocations: 29.8 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.3273, allocations: 100.2 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3274, allocations: 24 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.3275, allocations: 33.7 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3276, allocations: 326.8 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3277, allocations: 31.97 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3279, allocations: 77.12 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.3281, allocations: 105 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3281, allocations: 4 kB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003116/0.3284, allocations: 133.5 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3284, allocations: 4 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3285, allocations: 7.984 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3285, allocations: 4.125 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3286, allocations: 15.98 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3286, allocations: 4 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.3287, allocations: 15.92 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3287, allocations: 8 kB / 1.219 GB, free: 11.17 MB / 0.9669 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 9.988e-05/0.3288, allocations: 123.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3288, allocations: 11.91 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.3289, allocations: 20.7 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3289, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3289, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.3289, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.3295, allocations: 422.4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3295, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.3296, allocations: 15.92 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3296, allocations: 4 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3296, allocations: 3.984 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3296, allocations: 3.938 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3296, allocations: 0 / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.33, allocations: 227.4 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3301, allocations: 100.9 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3301, allocations: 4 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3302, allocations: 19.92 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3303, allocations: 7.984 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3303, allocations: 4 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.3304, allocations: 102.4 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3304, allocations: 0 / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003107/0.3307, allocations: 43.92 kB / 1.221 GB, free: 9.984 MB / 0.9669 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.0003539/0.331, allocations: 170.2 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.3313, allocations: 87.81 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3313, allocations: 4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3315, allocations: 36.23 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3318, allocations: 16.27 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.3323, allocations: 249 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3326, allocations: 0.6924 MB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.3327, allocations: 23.42 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3327, allocations: 4 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.003933/0.3366, allocations: 1.863 MB / 1.224 GB, free: 6.801 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.817497557029128]