Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.00181/0.00181, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002044/0.002044, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.713/2.713, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 176] 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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 59.91 kB / 1.059 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3356, allocations: 160.7 MB / 1.216 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00302/0.3386, allocations: 1.517 MB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3401, allocations: 0.7878 MB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.3402, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.3402, allocations: 11.86 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.3403, allocations: 19.86 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.3409, allocations: 123.6 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.341, allocations: 83.7 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.3411, allocations: 8 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3412, allocations: 43.83 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3413, allocations: 39.84 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3413, allocations: 8 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3415, allocations: 103.8 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3416, allocations: 31.89 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3416, allocations: 31.8 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.3419, allocations: 143.5 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3419, allocations: 0 / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3419, allocations: 4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3419, allocations: 0 / 1.219 GB, free: 12.46 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.0008438/0.3428, allocations: 462.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3428, allocations: 12.03 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3429, allocations: 12.89 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.343, allocations: 180.2 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3431, allocations: 4.375 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3431, allocations: 8.359 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3433, allocations: 69.97 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3433, allocations: 4 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3433, allocations: 0 / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3433, allocations: 0 / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3434, allocations: 51.89 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/0.344, allocations: 332.6 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3442, allocations: 62.47 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.434e-05/0.3442, allocations: 32.84 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3443, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.3445, allocations: 95.39 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.3445, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004432/0.345, allocations: 161.5 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.345, allocations: 55.41 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3451, allocations: 125.8 kB / 1.221 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3451, allocations: 33.69 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3452, allocations: 92.38 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3453, allocations: 27.94 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.3453, allocations: 29.7 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3455, allocations: 326.8 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.3456, allocations: 23.98 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3457, allocations: 76.69 kB / 1.221 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3459, allocations: 101.1 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3459, allocations: 0 / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003276/0.3462, allocations: 129.5 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3462, allocations: 4 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3463, allocations: 4 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3463, allocations: 0 / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3464, allocations: 19.92 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3464, allocations: 3.984 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3465, allocations: 15.95 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3465, allocations: 7.984 kB / 1.221 GB, free: 9.68 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 0.0001157/0.3466, allocations: 128 kB / 1.222 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3467, allocations: 7.953 kB / 1.222 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.347, allocations: 149.9 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.347, allocations: 384 / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.347, allocations: 0 / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.347, allocations: 0 / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/0.3477, allocations: 434.3 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3477, allocations: 7.938 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.3478, allocations: 7.938 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3478, allocations: 4 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3478, allocations: 3.984 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3478, allocations: 0 / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3478, allocations: 4.031 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.3481, allocations: 231.5 kB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3482, allocations: 81.06 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3482, allocations: 11.92 kB / 1.222 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3483, allocations: 8 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.3484, allocations: 15.92 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3484, allocations: 7.984 kB / 1.222 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.3485, allocations: 99.27 kB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3485, allocations: 0 / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003225/0.3488, allocations: 39.94 kB / 1.223 GB, free: 8.359 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 (12): * Single equations (assignments): 9 * 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.000368/0.3492, allocations: 168 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3494, allocations: 79.89 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3494, allocations: 0 / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3495, allocations: 48.16 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3498, allocations: 21.64 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3504, allocations: 211.5 kB / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3508, allocations: 0.6924 MB / 1.224 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.281e-05/0.3508, allocations: 16.42 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3509, allocations: 15.44 kB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.3509, allocations: 0 / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of Templates: time 0.005344/0.3562, allocations: 1.834 MB / 1.226 GB, free: 5.242 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.538764388300478]