Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001682/0.001682, allocations: 113 kB / 17.6 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.001645/0.001645, allocations: 186.8 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.121 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.632/2.632, allocations: 443.4 MB / 0.7304 GB, free: 13.93 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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 1.059 GB, free: 448 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002779/0.3261, allocations: 1.526 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3276, allocations: 0.7878 MB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.3276, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.3276, allocations: 7.875 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.3277, allocations: 23.84 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.3283, allocations: 123.6 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3284, allocations: 79.72 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.3285, allocations: 11.98 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3286, allocations: 39.84 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.3287, allocations: 43.83 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3287, allocations: 8 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3289, allocations: 103.8 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3289, allocations: 19.91 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.329, allocations: 39.8 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.3293, allocations: 143.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3293, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3293, allocations: 3.984 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3293, allocations: 0 / 1.219 GB, free: 12.43 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.000807/0.3301, allocations: 466.4 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3301, allocations: 12.03 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.3302, allocations: 8.891 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3303, allocations: 184.2 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3303, allocations: 384 / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3304, allocations: 8.375 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3306, allocations: 77.95 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3306, allocations: 3.984 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3306, allocations: 4 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3306, allocations: 7.938 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3307, allocations: 39.91 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.3313, allocations: 320.7 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3314, allocations: 54.55 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.3315, allocations: 36.84 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3316, allocations: 3.938 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.3318, allocations: 91.39 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3318, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004168/0.3322, allocations: 157.5 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.3323, allocations: 55.41 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.3324, allocations: 137.8 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3324, allocations: 25.7 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3325, allocations: 100.5 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3325, allocations: 19.8 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.3326, allocations: 33.7 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3327, allocations: 326.8 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3328, allocations: 23.98 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3329, allocations: 76.94 kB / 1.221 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3331, allocations: 97.08 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3331, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.3334, allocations: 129.5 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3334, allocations: 4 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3334, allocations: 4 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3334, allocations: 0 / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3335, allocations: 19.98 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3335, allocations: 3.938 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3336, allocations: 20.06 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3337, allocations: 4 kB / 1.221 GB, free: 9.656 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.000112/0.3338, allocations: 125.8 kB / 1.222 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.3338, allocations: 7.953 kB / 1.222 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.3341, allocations: 149.9 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3341, allocations: 0 / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3341, allocations: 3.984 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3341, allocations: 4.469 kB / 1.222 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.3348, allocations: 438.2 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3348, allocations: 4 kB / 1.222 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.3349, allocations: 15.98 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3349, allocations: 7.938 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3349, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3349, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3349, allocations: 3.938 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3352, allocations: 223.5 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.3353, allocations: 85.06 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3353, allocations: 4 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3354, allocations: 11.98 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.3354, allocations: 19.86 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.3355, allocations: 4 kB / 1.222 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.685e-05/0.3355, allocations: 99.27 kB / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3355, allocations: 0 / 1.223 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003182/0.3359, allocations: 47.86 kB / 1.223 GB, free: 8.32 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.0003627/0.3362, allocations: 156.5 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.3365, allocations: 87.83 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3365, allocations: 0 / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3366, allocations: 39.92 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3369, allocations: 23.88 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3374, allocations: 211.5 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3377, allocations: 0.6965 MB / 1.224 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.3378, allocations: 12.42 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3378, allocations: 15.38 kB / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3378, allocations: 0 / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of Templates: time 0.005254/0.3431, allocations: 1.834 MB / 1.226 GB, free: 5.215 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.201522945426404]