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.00165/0.00165, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001826/0.001826, allocations: 186.8 kB / 22.23 MB, free: 5.098 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001918/0.001918, allocations: 71.88 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.953, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003188/0.9562, allocations: 1.538 MB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.9577, allocations: 0.7749 MB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.9578, allocations: 0 / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.9578, allocations: 7.875 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.9579, allocations: 18.02 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.9585, allocations: 137.2 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.9587, allocations: 87.14 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.9588, allocations: 12.73 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.9589, allocations: 40.8 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.959, allocations: 46.5 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.959, allocations: 7.562 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.9593, allocations: 133.8 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.599e-05/0.9593, allocations: 19.8 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.9594, allocations: 45.22 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.9597, allocations: 157.3 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9597, allocations: 3.938 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9597, allocations: 0 / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9597, allocations: 1.25 kB / 1.221 GB, free: 1.504 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.0009222/0.9607, allocations: 480.4 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9607, allocations: 9.281 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.9608, allocations: 10.08 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.9609, allocations: 187 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.214e-05/0.961, allocations: 35.86 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.961, allocations: 8.297 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.9613, allocations: 82.98 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9613, allocations: 3.984 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.9613, allocations: 1.094 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9613, allocations: 0.9375 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.9615, allocations: 50 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.9622, allocations: 322.1 kB / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.9625, allocations: 69.38 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.9626, allocations: 36.08 kB / 1.223 GB, free: 268 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.9626, allocations: 5.094 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003067/0.9629, allocations: 93.67 kB / 1.223 GB, free: 184 kB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.9629, allocations: 1.062 kB / 1.223 GB, free: 184 kB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0005667/0.9635, allocations: 168.2 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.9635, allocations: 56.81 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.9637, allocations: 136.7 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.9638, allocations: 31.42 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.9638, allocations: 99.59 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.9639, allocations: 22.48 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.9639, allocations: 32.45 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.9641, allocations: 325.3 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.9642, allocations: 36.41 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.9644, allocations: 70.31 kB / 1.224 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.9646, allocations: 108.3 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9646, allocations: 0 / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003191/0.965, allocations: 130.8 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.965, allocations: 6.5 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.965, allocations: 5.062 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.965, allocations: 2.344 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.9651, allocations: 27.03 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.9652, allocations: 2.188 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.9653, allocations: 15.89 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.9653, allocations: 4.844 kB / 1.224 GB, free: 15.11 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,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.0001323/0.9654, allocations: 127.2 kB / 1.224 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.9654, allocations: 16.03 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.9655, allocations: 18.91 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9655, allocations: 5.047 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.9655, allocations: 1.062 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.9655, allocations: 4.078 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.9663, allocations: 424.7 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9663, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.9663, allocations: 14.8 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9663, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.9663, allocations: 6.141 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9664, allocations: 3.938 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9664, allocations: 1.094 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.9667, allocations: 227.3 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.9668, allocations: 91.08 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.9668, allocations: 5.422 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.967, allocations: 18.17 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.967, allocations: 7.297 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.967, allocations: 4.062 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.9671, allocations: 106.7 kB / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9671, allocations: 0 / 1.225 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003846/0.9675, allocations: 39.72 kB / 1.225 GB, free: 14.14 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.0004897/0.968, allocations: 172.7 kB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.9684, allocations: 85.56 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9684, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.9685, allocations: 48.91 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.9688, allocations: 18.72 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.9694, allocations: 212.6 kB / 1.226 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.9698, allocations: 0.6968 MB / 1.226 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.038e-05/0.9698, allocations: 13.88 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.9699, allocations: 19.94 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of SimCode: time 4.7e-07/0.9699, allocations: 1.062 kB / 1.226 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.00615/0.976, allocations: 1.86 MB / 1.228 GB, free: 12.09 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.08024003263563]