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.0009455/0.0009455, 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.0008873/0.0008873, 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.9389/0.9389, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.763/1.763, allocations: 359 MB / 0.6052 GB, free: 11 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.766e-06/2.766e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.329e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003621/0.003655, allocations: 1.564 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.005389, allocations: 0.8316 MB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.005474, allocations: 3.938 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.005519, allocations: 4.562 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.005635, allocations: 12.69 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008259/0.006461, allocations: 160.3 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.006625, allocations: 87.69 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.006726, allocations: 11.94 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.00693, allocations: 58.78 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.00701, allocations: 31.94 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.007034, allocations: 8 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.007344, allocations: 143.7 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.007375, allocations: 15.92 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.007428, allocations: 27.91 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.007777, allocations: 167.5 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007781, allocations: 1.312 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.007783, allocations: 0 / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.00779, allocations: 0 / 0.7901 GB, free: 9.383 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.0007685/0.008558, allocations: 488.1 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.008604, allocations: 13.03 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.008876, allocations: 24.88 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.009077, allocations: 141.1 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.009102, allocations: 6.188 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.009117, allocations: 8.312 kB / 0.7908 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.009292, allocations: 78.91 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.009308, allocations: 192 / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.009321, allocations: 384 / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.009332, allocations: 5.469 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.009409, allocations: 23.92 kB / 0.7909 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.009931, allocations: 309 kB / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.01007, allocations: 51.03 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.01012, allocations: 19.67 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.01014, allocations: 6.406 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.0103, allocations: 92.94 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.0103, allocations: 0 / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.000336/0.01064, allocations: 125.5 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.01069, allocations: 55.41 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.01082, allocations: 189.2 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01084, allocations: 34.23 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.01092, allocations: 139.8 kB / 0.7918 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.01095, allocations: 19.86 kB / 0.7919 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.01101, allocations: 43.89 kB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01116, allocations: 0.4939 MB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.01121, allocations: 11.98 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.01129, allocations: 74.05 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.01142, allocations: 95.36 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.01142, allocations: 4 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001961/0.01162, allocations: 111 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01164, allocations: 8 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01164, allocations: 1.375 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01166, allocations: 4 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01177, allocations: 23.92 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.01178, allocations: 5.156 kB / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.01184, allocations: 11.92 kB / 0.7927 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.01185, allocations: 4 kB / 0.7927 GB, free: 6.453 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 9.812e-05/0.01195, allocations: 161.9 kB / 0.7929 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.01198, allocations: 23.84 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.01225, allocations: 130.8 kB / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01226, allocations: 0 / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01226, allocations: 0 / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01226, allocations: 1.781 kB / 0.793 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.01273, allocations: 393.4 kB / 0.7934 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.01273, allocations: 3.984 kB / 0.7934 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.01279, allocations: 8 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.0128, allocations: 0.8125 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01281, allocations: 0 / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01281, allocations: 2.312 kB / 0.7934 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01281, allocations: 3.984 kB / 0.7934 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01306, allocations: 267.7 kB / 0.7937 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01308, allocations: 15.88 kB / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01311, allocations: 4.094 kB / 0.7937 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.0132, allocations: 4 kB / 0.7937 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.01326, allocations: 21.98 kB / 0.7937 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.01328, allocations: 7.938 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.973e-05/0.01335, allocations: 135.2 kB / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01335, allocations: 0 / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000343/0.01369, allocations: 43.92 kB / 0.7939 GB, free: 5.184 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.0004584/0.01415, allocations: 173 kB / 0.7941 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.01435, allocations: 68.12 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01435, allocations: 0 / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.01444, allocations: 48.19 kB / 0.7942 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01477, allocations: 25.14 kB / 0.7942 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.01556, allocations: 213.6 kB / 0.7944 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.01562, allocations: 63.34 kB / 0.7945 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01567, allocations: 8.484 kB / 0.7945 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.01572, allocations: 20.5 kB / 0.7945 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01572, allocations: 0 / 0.7945 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.006076/0.02179, allocations: 2.061 MB / 0.7965 GB, free: 2.508 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: 4.993487495929003]