Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 193 kB / 16.14 MB, free: 6.688 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 58.36 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.308, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002402/0.3104, allocations: 1.583 MB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3116, allocations: 0.7596 MB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.3116, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.3117, allocations: 7.922 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.3118, allocations: 15.88 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3122, allocations: 99.77 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.3123, allocations: 87.7 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.3124, allocations: 15.97 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.3125, allocations: 39.84 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.3125, allocations: 43.81 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3126, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3127, allocations: 83.94 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.3128, allocations: 23.89 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.3128, allocations: 35.8 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.313, allocations: 155.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3131, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3131, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.3131, allocations: 0 / 1.07 GB, free: 7.953 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.0007068/0.3138, allocations: 474.5 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3138, allocations: 12.03 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.3139, allocations: 8.844 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.314, allocations: 180.2 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.3141, allocations: 42.27 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.3141, allocations: 4.375 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3144, allocations: 85.64 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3144, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3144, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3144, allocations: 4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3146, allocations: 47.95 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.3151, allocations: 328.6 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3153, allocations: 66.55 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3155, allocations: 44.83 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3155, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.3157, allocations: 95.39 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.3157, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004844/0.3162, allocations: 169.5 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3163, allocations: 55.41 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3164, allocations: 135.8 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3164, allocations: 29.7 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.3165, allocations: 88.38 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3165, allocations: 31.78 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3166, allocations: 29.7 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3167, allocations: 330.8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3168, allocations: 27.98 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.317, allocations: 71.88 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3172, allocations: 109 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3172, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002909/0.3175, allocations: 133.8 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3175, allocations: 9.844 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3175, allocations: 7.938 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3176, allocations: 4 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3177, allocations: 23.86 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3177, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3178, allocations: 19.89 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3178, allocations: 4 kB / 1.073 GB, free: 5.051 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 8.991e-05/0.3179, allocations: 135.2 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.318, allocations: 11.91 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.318, allocations: 8.719 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.318, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.318, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.318, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.3187, allocations: 426.2 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3187, allocations: 4 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.3188, allocations: 11.98 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3188, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3188, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3188, allocations: 7.938 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3188, allocations: 3.938 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3192, allocations: 227.4 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3192, allocations: 81.02 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3192, allocations: 12 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.3194, allocations: 15.86 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3194, allocations: 7.984 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3195, allocations: 7.984 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.3195, allocations: 99.27 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3195, allocations: 4 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003024/0.3198, allocations: 39.98 kB / 1.074 GB, free: 3.863 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.0002984/0.3202, allocations: 164.1 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3205, allocations: 88.02 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3205, allocations: 12.12 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3206, allocations: 47.97 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3209, allocations: 15.98 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.3215, allocations: 225.4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3218, allocations: 0.6926 MB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.3218, allocations: 8.672 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.3219, allocations: 15.42 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.3219, allocations: 0 / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.004675/0.3266, allocations: 1.661 MB / 1.077 GB, free: 0.9102 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)