Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.705/2.705, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.56 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00343/0.3348, allocations: 1.517 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3364, allocations: 0.775 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.3365, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.3366, allocations: 7.922 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3367, allocations: 11.81 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.3374, allocations: 123.6 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3376, allocations: 91.7 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3378, allocations: 15.98 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3379, allocations: 47.83 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.338, allocations: 35.84 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3381, allocations: 8 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.3383, allocations: 95.84 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.26e-05/0.3384, allocations: 27.89 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.3384, allocations: 39.8 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.3388, allocations: 143.9 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3388, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3388, allocations: 4 kB / 1.071 GB, free: 7.52 MB / 0.8262 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.000922/0.3397, allocations: 478.4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/0.3398, allocations: 8.031 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.3399, allocations: 12.78 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3401, allocations: 188.2 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3403, allocations: 34.25 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3403, allocations: 8.375 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3406, allocations: 73.77 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3406, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3406, allocations: 4 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3406, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.3409, allocations: 51.89 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.3416, allocations: 324.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3419, allocations: 70.53 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.342, allocations: 40.84 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.342, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.3424, allocations: 103.4 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.3424, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005774/0.343, allocations: 169.5 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.3431, allocations: 59.41 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3432, allocations: 127.9 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3433, allocations: 29.7 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.3433, allocations: 92.38 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3434, allocations: 32.16 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.3434, allocations: 29.7 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3436, allocations: 326.8 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3437, allocations: 31.98 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3438, allocations: 81 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3441, allocations: 101.1 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3441, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003114/0.3444, allocations: 141.4 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3445, allocations: 8.125 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3445, allocations: 4 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3445, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3446, allocations: 19.98 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3446, allocations: 7.938 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3448, allocations: 11.89 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3448, allocations: 8 kB / 1.074 GB, free: 4.609 MB / 0.8262 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.0001157/0.3449, allocations: 130.3 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3449, allocations: 11.84 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.345, allocations: 12.72 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.345, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.345, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.345, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.3457, allocations: 434.1 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3457, allocations: 4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.3458, allocations: 7.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3458, allocations: 4 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.3458, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-06/0.3458, allocations: 3.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3458, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.3462, allocations: 231.3 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.3462, allocations: 85.02 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3463, allocations: 0 / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3464, allocations: 15.92 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.3465, allocations: 12.17 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3465, allocations: 7.984 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.3466, allocations: 105 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3466, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003536/0.3469, allocations: 40 kB / 1.075 GB, free: 3.422 MB / 0.8262 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 (10): * Single equations (assignments): 7 * 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.0004124/0.3474, allocations: 160.5 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3477, allocations: 99.81 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3477, allocations: 4.25 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3479, allocations: 51.91 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3482, allocations: 9.531 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.3487, allocations: 210.3 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.349, allocations: 0.6929 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.232e-05/0.3491, allocations: 20.53 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3491, allocations: 11.44 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3491, allocations: 4 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.005109/0.3542, allocations: 1.799 MB / 1.078 GB, free: 344 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)