Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00165/0.00165, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001906/0.001906, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.489/1.489, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.88 kB / 1.109 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9031, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003391/0.9065, allocations: 1.557 MB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.9081, allocations: 0.7845 MB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.9082, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.9082, allocations: 7.875 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.9083, allocations: 27.72 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.909, allocations: 127.6 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.9092, allocations: 99.64 kB / 1.277 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.9093, allocations: 15.98 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.9095, allocations: 47.84 kB / 1.277 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.9096, allocations: 43.77 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.9096, allocations: 8 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.9098, allocations: 107.9 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.9099, allocations: 19.92 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.9099, allocations: 39.8 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.9103, allocations: 174 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9103, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9103, allocations: 0 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9103, allocations: 4 kB / 1.277 GB, free: 1.523 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00101/0.9113, allocations: 0.5038 MB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.9113, allocations: 11.97 kB / 1.278 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.9114, allocations: 12.84 kB / 1.278 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.9116, allocations: 182.8 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.9116, allocations: 4.375 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.9116, allocations: 8.375 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.9118, allocations: 89.88 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9119, allocations: 0 / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.9119, allocations: 0 / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.9119, allocations: 4 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.912, allocations: 43.97 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.9127, allocations: 336.7 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.9129, allocations: 74.67 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.913, allocations: 40.83 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.913, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.9133, allocations: 95.47 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.9133, allocations: 4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004756/0.9138, allocations: 185.4 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.9138, allocations: 55.39 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.914, allocations: 137.8 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.914, allocations: 29.7 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.9141, allocations: 104 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.9141, allocations: 27.7 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.9142, allocations: 33.7 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.9144, allocations: 334.8 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.9145, allocations: 27.98 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.9146, allocations: 69.06 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.9148, allocations: 113 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9148, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002608/0.9151, allocations: 137.4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9151, allocations: 8 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.9151, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.9151, allocations: 8.094 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.9153, allocations: 19.92 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.9153, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.9154, allocations: 19.92 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.9154, allocations: 4 kB / 1.28 GB, free: 14.56 MB / 0.9825 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.0001182/0.9155, allocations: 127.2 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.9155, allocations: 7.953 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.9159, allocations: 182.2 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9159, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9159, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.9159, allocations: 3.938 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.9166, allocations: 458.3 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9166, allocations: 0 / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.9167, allocations: 15.98 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9167, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.9167, allocations: 4 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.9167, allocations: 4 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9167, allocations: 3.938 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.9171, allocations: 252.5 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.9172, allocations: 92.98 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.9173, allocations: 4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.9174, allocations: 11.98 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.9174, allocations: 15.92 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.9175, allocations: 4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001374/0.9176, allocations: 113.3 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9176, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003363/0.9179, allocations: 47.94 kB / 1.281 GB, free: 13.13 MB / 0.9825 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.0003958/0.9183, allocations: 166.8 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.9186, allocations: 88.77 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9186, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.9187, allocations: 55.91 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.9191, allocations: 15.98 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.9196, allocations: 258.5 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.92, allocations: 0.6963 MB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.9201, allocations: 8.547 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.9201, allocations: 19.38 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9201, allocations: 4 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.005737/0.9259, allocations: 2.047 MB / 1.284 GB, free: 9.758 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.031939797103405]