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.001838/0.001838, allocations: 110.6 kB / 17.08 MB, free: 6.008 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.002123/0.002123, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.419/1.419, allocations: 222.9 MB / 245.7 MB, free: 4.238 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.682/2.682, allocations: 437.1 MB / 0.7177 GB, free: 4.559 MB / 0.5606 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.001949/0.001949, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002706/0.3073, allocations: 1.508 MB / 1.177 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3087, allocations: 0.7751 MB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.3088, allocations: 0 / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.3089, allocations: 3.938 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.309, allocations: 15.84 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.3095, allocations: 123.6 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3097, allocations: 99.69 kB / 1.178 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.3098, allocations: 8 kB / 1.178 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3099, allocations: 47.78 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.31, allocations: 39.83 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.31, allocations: 4 kB / 1.178 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3102, allocations: 95.91 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.3102, allocations: 23.91 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.3103, allocations: 39.86 kB / 1.179 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3106, allocations: 155.3 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3106, allocations: 0 / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3106, allocations: 0 / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3106, allocations: 4 kB / 1.179 GB, free: 2.988 MB / 0.92 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.000843/0.3115, allocations: 478.3 kB / 1.179 GB, free: 2.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3115, allocations: 8.031 kB / 1.179 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.3116, allocations: 12.89 kB / 1.179 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3117, allocations: 184.2 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.3118, allocations: 30.27 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3118, allocations: 8.375 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.312, allocations: 77.7 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3121, allocations: 7.984 kB / 1.179 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3121, allocations: 4 kB / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3121, allocations: 0 / 1.179 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.3123, allocations: 47.95 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.3128, allocations: 336.5 kB / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3131, allocations: 66.55 kB / 1.18 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3132, allocations: 40.84 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3132, allocations: 3.984 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.3135, allocations: 103.5 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.3135, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0005031/0.314, allocations: 169.5 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3141, allocations: 59.41 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3142, allocations: 130.1 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3142, allocations: 25.7 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.3143, allocations: 96.33 kB / 1.18 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3143, allocations: 23.84 kB / 1.181 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3144, allocations: 29.7 kB / 1.181 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3145, allocations: 326.8 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3147, allocations: 31.98 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3148, allocations: 73 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3151, allocations: 109 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3151, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003026/0.3154, allocations: 137.5 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3154, allocations: 8.125 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3154, allocations: 4 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3154, allocations: 0 / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.3155, allocations: 15.98 kB / 1.181 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3156, allocations: 4 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3157, allocations: 11.92 kB / 1.181 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3157, allocations: 12 kB / 1.181 GB, free: 88 kB / 0.92 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.0001251/0.3158, allocations: 135.9 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.3159, allocations: 11.91 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.3159, allocations: 12.72 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3159, allocations: 0 / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3159, allocations: 0 / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3159, allocations: 0 / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.3166, allocations: 430.8 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3166, allocations: 7.984 kB / 1.182 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.3167, allocations: 7.984 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3167, allocations: 4 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3167, allocations: 11.88 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3167, allocations: 3.938 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3167, allocations: 0 / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3171, allocations: 227.4 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.3171, allocations: 96.89 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3172, allocations: 0 / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3173, allocations: 15.92 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3174, allocations: 11.98 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3174, allocations: 7.984 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.3175, allocations: 100.2 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3175, allocations: 0 / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003072/0.3178, allocations: 39.94 kB / 1.182 GB, free: 14.89 MB / 0.9356 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.0003555/0.3181, allocations: 165.1 kB / 1.182 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3184, allocations: 91.81 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3185, allocations: 256 / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.3186, allocations: 47.97 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3189, allocations: 11.98 kB / 1.183 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.3194, allocations: 243.8 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3197, allocations: 0.7002 MB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3198, allocations: 11.44 kB / 1.184 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.3198, allocations: 0 / 1.184 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.003991/0.3238, allocations: 1.871 MB / 1.185 GB, free: 11.71 MB / 0.9356 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.77296912507154]