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.0009554/0.0009554, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009601/0.0009601, allocations: 168.3 kB / 24.87 MB, free: 8.867 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.9591/0.9591, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.816/1.816, allocations: 359 MB / 0.6063 GB, free: 10.87 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.274e-06/2.274e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.55e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003431/0.003466, allocations: 1.578 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.005073, allocations: 0.8158 MB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.005141, allocations: 1.25 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.005179, allocations: 3.938 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.005286, allocations: 25.41 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.005962, allocations: 159.3 kB / 0.7908 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.006107, allocations: 83.7 kB / 0.7909 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.006198, allocations: 4 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.00637, allocations: 65.03 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.006443, allocations: 31.89 kB / 0.791 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.006465, allocations: 8 kB / 0.791 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.006761, allocations: 144.3 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.006793, allocations: 29.25 kB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.006832, allocations: 15.98 kB / 0.7912 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.007125, allocations: 163.4 kB / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007128, allocations: 0 / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.007129, allocations: 0.6875 kB / 0.7913 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.007134, allocations: 0 / 0.7913 GB, free: 9.148 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.0006454/0.007779, allocations: 492.4 kB / 0.7918 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.007823, allocations: 12.67 kB / 0.7918 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.008107, allocations: 29.88 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.008273, allocations: 132.5 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.008293, allocations: 15.61 kB / 0.792 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.008306, allocations: 4.375 kB / 0.792 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.008447, allocations: 74.86 kB / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.008457, allocations: 192 / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.008468, allocations: 384 / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.008476, allocations: 3.938 kB / 0.792 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.008529, allocations: 23.91 kB / 0.7921 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.008953, allocations: 281.1 kB / 0.7923 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.009074, allocations: 54.95 kB / 0.7924 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.009108, allocations: 21.33 kB / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.009124, allocations: 0 / 0.7924 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.009261, allocations: 80.97 kB / 0.7925 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.009263, allocations: 1.594 kB / 0.7925 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002743/0.009537, allocations: 117.5 kB / 0.7926 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.009579, allocations: 59.34 kB / 0.7927 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.009698, allocations: 193.9 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.009718, allocations: 29.7 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.009784, allocations: 144.4 kB / 0.793 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.009814, allocations: 23.84 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.009872, allocations: 39.34 kB / 0.7931 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01003, allocations: 0.4899 MB / 0.7935 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.01006, allocations: 11.98 kB / 0.7936 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.01013, allocations: 70.09 kB / 0.7936 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01025, allocations: 91.69 kB / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01025, allocations: 0 / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001837/0.01043, allocations: 106.4 kB / 0.7938 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01045, allocations: 8.469 kB / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01046, allocations: 4.531 kB / 0.7938 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01047, allocations: 0 / 0.7938 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01057, allocations: 25.11 kB / 0.7938 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.01058, allocations: 0 / 0.7938 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.01065, allocations: 11.92 kB / 0.7939 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.01066, allocations: 8.562 kB / 0.7939 GB, free: 6.281 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.0001109/0.01078, allocations: 170.4 kB / 0.794 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.0108, allocations: 19.84 kB / 0.794 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.01104, allocations: 114 kB / 0.7942 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.01104, allocations: 4 kB / 0.7942 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01105, allocations: 5.141 kB / 0.7942 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01105, allocations: 0 / 0.7942 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.01148, allocations: 358.9 kB / 0.7945 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01148, allocations: 3.938 kB / 0.7945 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.01153, allocations: 11.94 kB / 0.7945 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01153, allocations: 0.8125 kB / 0.7945 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01155, allocations: 3.984 kB / 0.7945 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01155, allocations: 4.938 kB / 0.7945 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01155, allocations: 0 / 0.7945 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01178, allocations: 257.1 kB / 0.7948 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.01179, allocations: 15.83 kB / 0.7948 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01182, allocations: 96 / 0.7948 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01194, allocations: 7.984 kB / 0.7948 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.01198, allocations: 16.91 kB / 0.7948 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01199, allocations: 4 kB / 0.7948 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.01204, allocations: 140 kB / 0.795 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01204, allocations: 0 / 0.795 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002276/0.01227, allocations: 47.92 kB / 0.795 GB, free: 5.066 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.0002912/0.01256, allocations: 169.1 kB / 0.7952 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01268, allocations: 67.52 kB / 0.7952 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01269, allocations: 0 / 0.7952 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.01273, allocations: 39.59 kB / 0.7953 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01294, allocations: 24.94 kB / 0.7953 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.01338, allocations: 207.3 kB / 0.7955 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.01341, allocations: 63.91 kB / 0.7955 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.01345, allocations: 9.891 kB / 0.7956 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.01351, allocations: 90.19 kB / 0.7956 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01351, allocations: 0.5312 kB / 0.7956 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.007557/0.02107, allocations: 2.127 MB / 0.7977 GB, free: 2.281 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.21298720408231]