Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001782/0.001792, allocations: 110.4 kB / 17.08 MB, free: 6.012 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.001989/0.001989, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.718/2.718, allocations: 437.1 MB / 0.7177 GB, free: 4.512 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.Reinhart2003Light,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.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,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.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002835/0.3023, allocations: 1.535 MB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3037, allocations: 0.7789 MB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.3038, allocations: 4 kB / 1.178 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.3038, allocations: 7.922 kB / 1.178 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3039, allocations: 15.8 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.3045, allocations: 135.5 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3046, allocations: 99.69 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.3047, allocations: 12 kB / 1.178 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.3048, allocations: 43.83 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.3049, allocations: 51.77 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3049, allocations: 8 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3052, allocations: 99.84 kB / 1.179 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3052, allocations: 27.91 kB / 1.179 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.3053, allocations: 35.8 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.3056, allocations: 167.4 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3056, allocations: 0 / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3056, allocations: 0 / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3056, allocations: 0 / 1.179 GB, free: 2.895 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008586/0.3065, allocations: 0.5021 MB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3065, allocations: 8.031 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3066, allocations: 20.84 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3067, allocations: 184.2 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3068, allocations: 8.359 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.3068, allocations: 8.312 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.307, allocations: 81.95 kB / 1.18 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.307, allocations: 3.984 kB / 1.18 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.307, allocations: 4 kB / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3071, allocations: 0 / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3072, allocations: 51.84 kB / 1.18 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.3078, allocations: 344.6 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.308, allocations: 78.7 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.857e-05/0.3082, allocations: 44.83 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3082, allocations: 7.984 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.3084, allocations: 91.36 kB / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3084, allocations: 0 / 1.18 GB, free: 1.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004474/0.3089, allocations: 185.4 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.309, allocations: 55.41 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3091, allocations: 136.4 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.3091, allocations: 37.7 kB / 1.181 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3092, allocations: 92.12 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3093, allocations: 27.75 kB / 1.181 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3093, allocations: 37.7 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3095, allocations: 326.8 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.514e-05/0.3096, allocations: 31.97 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3097, allocations: 65.14 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3099, allocations: 105.1 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3099, allocations: 4 kB / 1.181 GB, free: 128 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002755/0.3102, allocations: 137.5 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3102, allocations: 7.938 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3102, allocations: 4 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3102, allocations: 0 / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3104, allocations: 15.94 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3104, allocations: 7.984 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-05/0.3105, allocations: 12.09 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.3105, allocations: 11.98 kB / 1.181 GB, free: 15.93 MB / 0.9356 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001138/0.3106, allocations: 131.8 kB / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3107, allocations: 11.95 kB / 1.182 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.311, allocations: 170.3 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3111, allocations: 4 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3111, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3111, allocations: 0 / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.3118, allocations: 469.8 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3118, allocations: 3.938 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-05/0.3119, allocations: 11.98 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3119, allocations: 7.938 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3119, allocations: 0 / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3119, allocations: 0 / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3119, allocations: 7.922 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.3123, allocations: 259.3 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.3123, allocations: 89 kB / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3124, allocations: 0 / 1.182 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3125, allocations: 15.98 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.3125, allocations: 11.92 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3126, allocations: 4 kB / 1.183 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.721e-05/0.3127, allocations: 107.2 kB / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3127, allocations: 0 / 1.183 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003158/0.313, allocations: 51.83 kB / 1.183 GB, free: 14.5 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003611/0.3133, allocations: 172.1 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.3136, allocations: 95.88 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3136, allocations: 0 / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.3138, allocations: 60.11 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3141, allocations: 16.27 kB / 1.183 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3146, allocations: 261.2 kB / 1.183 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3149, allocations: 0.7002 MB / 1.184 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.315, allocations: 27.38 kB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.315, allocations: 0 / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.004127/0.3191, allocations: 2.004 MB / 1.186 GB, free: 11.12 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.761473446968012]