Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.0009872/0.0009872, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001113/0.001113, allocations: 165 kB / 23.82 MB, free: 0.7383 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 1.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.892/1.892, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.Love1998Light1,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.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_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.449e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002088/0.002113, allocations: 1.568 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.003888, allocations: 0.8266 MB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.003948, allocations: 1.562 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.003983, allocations: 7.922 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.004079, allocations: 15.86 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.004698, allocations: 161.4 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.004817, allocations: 87.7 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.004907, allocations: 8 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.005057, allocations: 55.88 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.005114, allocations: 33.98 kB / 0.7898 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.005134, allocations: 8 kB / 0.7898 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.005359, allocations: 143.7 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.005386, allocations: 23.91 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.005428, allocations: 19.98 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.005664, allocations: 163.4 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005668, allocations: 5.562 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.233e-06/0.005669, allocations: 0 / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.005674, allocations: 0 / 0.7901 GB, free: 9.414 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.000565/0.006239, allocations: 488.5 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006276, allocations: 8.031 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.006485, allocations: 33.41 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.00665, allocations: 140.9 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.006668, allocations: 1.594 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.006684, allocations: 8.375 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.006813, allocations: 70.92 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006821, allocations: 2.719 kB / 0.7908 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.006832, allocations: 4.375 kB / 0.7908 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.006841, allocations: 7.922 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.006896, allocations: 27.84 kB / 0.7909 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.007278, allocations: 299.7 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.007381, allocations: 55.75 kB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.007415, allocations: 20.22 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.007437, allocations: 8.031 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.007546, allocations: 86.61 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.007548, allocations: 0 / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002469/0.007795, allocations: 125.5 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.007833, allocations: 64 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007936, allocations: 188.9 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.00795, allocations: 26.8 kB / 0.7917 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.008007, allocations: 143.1 kB / 0.7918 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.008031, allocations: 24 kB / 0.7919 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.008074, allocations: 40.52 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.008201, allocations: 0.4884 MB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.008237, allocations: 19.98 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.0083, allocations: 75.42 kB / 0.7925 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.008395, allocations: 95.8 kB / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008397, allocations: 0 / 0.7926 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001396/0.008537, allocations: 110.7 kB / 0.7927 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.008551, allocations: 8 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.008557, allocations: 0 / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.00857, allocations: 4 kB / 0.7927 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.00866, allocations: 20.77 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.008666, allocations: 0 / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/0.00872, allocations: 16.88 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.008733, allocations: 7.984 kB / 0.7927 GB, free: 6.484 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.0001062/0.008839, allocations: 168.1 kB / 0.7929 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.008866, allocations: 19.84 kB / 0.7929 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.009112, allocations: 126 kB / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.009114, allocations: 1.25 kB / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.009118, allocations: 0 / 0.793 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.009122, allocations: 3.984 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.009467, allocations: 392.4 kB / 0.7934 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009468, allocations: 0 / 0.7934 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.009514, allocations: 7.984 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.009519, allocations: 4.094 kB / 0.7934 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.00953, allocations: 4 kB / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.009533, allocations: 0 / 0.7934 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.009535, allocations: 3.984 kB / 0.7934 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.009728, allocations: 271.8 kB / 0.7937 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.009742, allocations: 12.39 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.009764, allocations: 9.938 kB / 0.7937 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.009816, allocations: 3.984 kB / 0.7937 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.009873, allocations: 11.98 kB / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.009892, allocations: 7.984 kB / 0.7937 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.809e-05/0.00996, allocations: 139.2 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00996, allocations: 0.8438 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002662/0.01023, allocations: 39.94 kB / 0.7939 GB, free: 5.219 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.0004115/0.01064, allocations: 175 kB / 0.7941 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.01081, allocations: 75.45 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01081, allocations: 0 / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.01087, allocations: 37.92 kB / 0.7942 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.0111, allocations: 20.3 kB / 0.7942 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.01168, allocations: 219.1 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01172, allocations: 63.34 kB / 0.7944 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.01175, allocations: 9.625 kB / 0.7945 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.01179, allocations: 17.61 kB / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01179, allocations: 0 / 0.7945 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.00409/0.01588, allocations: 1.888 MB / 0.7963 GB, free: 2.715 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.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.308757644146681]