Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.856/1.856, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.787 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.625e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003293/0.003329, allocations: 1.564 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004922, allocations: 0.8319 MB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.004998, allocations: 4 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.005042, allocations: 4.688 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.005158, allocations: 21.08 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.005817, allocations: 151.4 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.005972, allocations: 87.64 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.006077, allocations: 21.33 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.006267, allocations: 59.81 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.006344, allocations: 27.95 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.006369, allocations: 9.062 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.006653, allocations: 143.7 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.006681, allocations: 15.98 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.006736, allocations: 29.38 kB / 0.7899 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.007045, allocations: 159.5 kB / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007049, allocations: 0 / 0.7901 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00705, allocations: 3.938 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.007055, allocations: 1.656 kB / 0.7901 GB, free: 9.387 MB / 0.7448 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.0007131/0.007768, allocations: 491.4 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.007811, allocations: 8.031 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.008118, allocations: 37.42 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.008322, allocations: 129.5 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.008344, allocations: 4.375 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.008368, allocations: 17.94 kB / 0.7908 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.008542, allocations: 74.86 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.008554, allocations: 192 / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.008567, allocations: 384 / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.008579, allocations: 9.625 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.008653, allocations: 19.97 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.009143, allocations: 299.7 kB / 0.7911 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.009277, allocations: 57.64 kB / 0.7912 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.009327, allocations: 23.67 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.00935, allocations: 0 / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.009499, allocations: 88.89 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.009501, allocations: 4 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003496/0.00985, allocations: 122.2 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.009898, allocations: 59.33 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.01003, allocations: 192.9 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.01005, allocations: 25.7 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.01013, allocations: 143.6 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.01016, allocations: 29.31 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.01022, allocations: 35.36 kB / 0.7919 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.01038, allocations: 0.4884 MB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.01042, allocations: 11.98 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.01051, allocations: 85.62 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01064, allocations: 91.36 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01065, allocations: 1.156 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002077/0.01085, allocations: 114.8 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01087, allocations: 7.938 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01088, allocations: 7.984 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.0109, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01101, allocations: 21.73 kB / 0.7927 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01102, allocations: 0 / 0.7927 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.01109, allocations: 15.94 kB / 0.7927 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.0111, allocations: 4 kB / 0.7927 GB, free: 6.457 MB / 0.7448 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.0001006/0.01121, allocations: 175 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.01123, allocations: 15.36 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.01149, allocations: 122.1 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0115, allocations: 7.984 kB / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.0115, allocations: 0 / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01151, allocations: 0 / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.01206, allocations: 397.4 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01206, allocations: 0 / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.01212, allocations: 8 kB / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01212, allocations: 3.984 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01213, allocations: 4.531 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.01214, allocations: 1.938 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01214, allocations: 3.938 kB / 0.7934 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.0124, allocations: 267.7 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.01242, allocations: 7.953 kB / 0.7937 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01244, allocations: 0 / 0.7937 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.0125, allocations: 14.08 kB / 0.7937 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.01255, allocations: 7.984 kB / 0.7937 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01256, allocations: 8 kB / 0.7937 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.01262, allocations: 143.1 kB / 0.7938 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01262, allocations: 0 / 0.7938 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000258/0.01288, allocations: 43.92 kB / 0.7939 GB, free: 5.188 MB / 0.7448 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.0003826/0.01326, allocations: 172.2 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01344, allocations: 64.92 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01345, allocations: 4 kB / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.01351, allocations: 43.55 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01377, allocations: 31.06 kB / 0.7942 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.01434, allocations: 208 kB / 0.7944 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.01438, allocations: 63.34 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.467e-05/0.01442, allocations: 15.3 kB / 0.7945 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.01445, allocations: 12.5 kB / 0.7945 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01445, allocations: 0 / 0.7945 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of Templates: time 0.003753/0.01821, allocations: 1.88 MB / 0.7963 GB, free: 2.707 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.225530918687582]