Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000948/0.000948, allocations: 176.4 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205 MB / 0.5766 GB, free: 21.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007702/0.0007703, allocations: 97.17 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2503, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001698/0.2521, allocations: 1.227 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2533, allocations: 0.8155 MB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.2533, allocations: 0 / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.2534, allocations: 0 / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.2535, allocations: 19.86 kB / 0.8988 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.2539, allocations: 99.77 kB / 0.8989 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.254, allocations: 83.72 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.2541, allocations: 15.91 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.137e-05/0.2542, allocations: 39.8 kB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.2543, allocations: 27.91 kB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2543, allocations: 11.98 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2545, allocations: 87.86 kB / 0.8991 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.2546, allocations: 15.97 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.2546, allocations: 31.8 kB / 0.8992 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2548, allocations: 107.7 kB / 0.8993 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2548, allocations: 0 / 0.8993 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2548, allocations: 0 / 0.8993 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2548, allocations: 0 / 0.8993 GB, free: 65.63 MB / 0.6042 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.0006512/0.2555, allocations: 462.6 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2555, allocations: 8.031 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2556, allocations: 4.938 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2557, allocations: 180.1 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2557, allocations: 4.375 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.2557, allocations: 4.375 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2559, allocations: 85.89 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2559, allocations: 4 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.256, allocations: 3.938 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.256, allocations: 0 / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.2561, allocations: 47.97 kB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.2566, allocations: 320.8 kB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2568, allocations: 66.58 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.2568, allocations: 40.83 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2569, allocations: 0 / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.2571, allocations: 99.3 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2571, allocations: 0 / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003525/0.2574, allocations: 161.5 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.2575, allocations: 55.39 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.2576, allocations: 131.5 kB / 0.9009 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2576, allocations: 33.64 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.2576, allocations: 96.36 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2577, allocations: 23.66 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.2577, allocations: 21.7 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.2578, allocations: 322.8 kB / 0.9013 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.2578, allocations: 31.98 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.2579, allocations: 65.14 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.2581, allocations: 109 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2581, allocations: 0 / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002028/0.2583, allocations: 133.4 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2583, allocations: 8 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2583, allocations: 0 / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2583, allocations: 4 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2585, allocations: 24.05 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2585, allocations: 0 / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2586, allocations: 15.98 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2586, allocations: 8 kB / 0.9017 GB, free: 62.84 MB / 0.6042 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 7.448e-05/0.2587, allocations: 123.4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2587, allocations: 7.906 kB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.259, allocations: 153.9 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.259, allocations: 4 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.259, allocations: 0 / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.259, allocations: 3.984 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.2595, allocations: 446.3 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2595, allocations: 4 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.2596, allocations: 11.98 kB / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2596, allocations: 0 / 0.9024 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2596, allocations: 4.375 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2596, allocations: 0 / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2596, allocations: 3.938 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.2598, allocations: 235.5 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.2599, allocations: 92.95 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2599, allocations: 0 / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.26, allocations: 11.98 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.2601, allocations: 19.86 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2601, allocations: 4 kB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.2601, allocations: 101.9 kB / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2602, allocations: 0 / 0.9029 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002818/0.2604, allocations: 43.98 kB / 0.9029 GB, free: 61.49 MB / 0.6042 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.0003304/0.2608, allocations: 158.4 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.261, allocations: 91.83 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.261, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.2611, allocations: 52.03 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.2614, allocations: 19.36 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.2619, allocations: 267.2 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2621, allocations: 0.6926 MB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.2621, allocations: 15.42 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.2621, allocations: 4 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.003993/0.2661, allocations: 1.802 MB / 0.9059 GB, free: 58.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)