Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000783/0.000783, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005321/0.005321, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 252 MB / 0.5105 GB, free: 4.742 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000522/0.0005221, allocations: 16 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5157, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001888/0.5176, allocations: 1.238 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.5192, allocations: 0.7991 MB / 0.7307 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.5193, allocations: 0 / 0.7307 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.5193, allocations: 3.938 kB / 0.7307 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.5194, allocations: 23.84 kB / 0.7307 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/0.5199, allocations: 99.83 kB / 0.7308 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.5201, allocations: 79.72 kB / 0.7309 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.5202, allocations: 15.98 kB / 0.7309 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.5203, allocations: 35.84 kB / 0.731 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.5204, allocations: 43.83 kB / 0.731 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5204, allocations: 4 kB / 0.731 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.5206, allocations: 91.84 kB / 0.7311 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.5207, allocations: 15.92 kB / 0.7311 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.5207, allocations: 57.5 kB / 0.7312 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.521, allocations: 149.6 kB / 0.7313 GB, free: 8.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.521, allocations: 0 / 0.7313 GB, free: 8.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.521, allocations: 0 / 0.7313 GB, free: 8.625 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.521, allocations: 0 / 0.7313 GB, free: 8.625 MB / 0.545 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.0007422/0.5218, allocations: 466.6 kB / 0.7317 GB, free: 8.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5218, allocations: 8.031 kB / 0.7318 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.5219, allocations: 12.83 kB / 0.7318 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.522, allocations: 180.2 kB / 0.7319 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.5221, allocations: 38.25 kB / 0.732 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5221, allocations: 4.375 kB / 0.732 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.5223, allocations: 85.77 kB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5224, allocations: 0 / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5224, allocations: 0 / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5224, allocations: 0 / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.5226, allocations: 55.91 kB / 0.7321 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.5232, allocations: 336.5 kB / 0.7324 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.5234, allocations: 70.53 kB / 0.7325 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.5235, allocations: 52.86 kB / 0.7326 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.5235, allocations: 8.078 kB / 0.7326 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.5238, allocations: 91.36 kB / 0.7326 GB, free: 7.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/0.5238, allocations: 0 / 0.7326 GB, free: 7.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004836/0.5243, allocations: 177.5 kB / 0.7328 GB, free: 6.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5244, allocations: 55.41 kB / 0.7329 GB, free: 6.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5245, allocations: 133.3 kB / 0.733 GB, free: 6.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.5245, allocations: 29.7 kB / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.5246, allocations: 92.36 kB / 0.7331 GB, free: 6.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.5246, allocations: 19.72 kB / 0.7331 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.5246, allocations: 29.7 kB / 0.7332 GB, free: 6.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5248, allocations: 326.8 kB / 0.7335 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.5249, allocations: 23.98 kB / 0.7335 GB, free: 6.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.525, allocations: 85.06 kB / 0.7336 GB, free: 6.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.5253, allocations: 109 kB / 0.7337 GB, free: 5.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5253, allocations: 4 kB / 0.7337 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003056/0.5256, allocations: 133.4 kB / 0.7338 GB, free: 5.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5256, allocations: 8 kB / 0.7338 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5256, allocations: 0 / 0.7338 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5256, allocations: 4 kB / 0.7338 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.5258, allocations: 24.05 kB / 0.7338 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5258, allocations: 0 / 0.7338 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.5259, allocations: 27.83 kB / 0.7339 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.5259, allocations: 4 kB / 0.7339 GB, free: 5.711 MB / 0.545 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.0001009/0.526, allocations: 129.8 kB / 0.734 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.526, allocations: 7.906 kB / 0.734 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.5261, allocations: 12.72 kB / 0.734 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5261, allocations: 0 / 0.734 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5261, allocations: 4 kB / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5261, allocations: 384 / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.5268, allocations: 446.1 kB / 0.7344 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5268, allocations: 0 / 0.7344 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.5268, allocations: 11.98 kB / 0.7345 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.5269, allocations: 0 / 0.7345 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5269, allocations: 7.938 kB / 0.7345 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.5269, allocations: 3.938 kB / 0.7345 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5269, allocations: 0 / 0.7345 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.5273, allocations: 235.3 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.5273, allocations: 85.05 kB / 0.7348 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.5274, allocations: 11.98 kB / 0.7348 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5275, allocations: 15.92 kB / 0.7348 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.5275, allocations: 7.984 kB / 0.7348 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5276, allocations: 7.984 kB / 0.7348 GB, free: 4.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.5276, allocations: 103.3 kB / 0.7349 GB, free: 4.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5276, allocations: 0 / 0.7349 GB, free: 4.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003182/0.528, allocations: 40 kB / 0.735 GB, free: 4.504 MB / 0.545 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.0003565/0.5283, allocations: 161.7 kB / 0.7351 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.5286, allocations: 95.88 kB / 0.7352 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5287, allocations: 0 / 0.7352 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.5288, allocations: 51.91 kB / 0.7352 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.5291, allocations: 15.98 kB / 0.7353 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.5296, allocations: 231.4 kB / 0.7355 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.5298, allocations: 0.7004 MB / 0.7362 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.708e-05/0.5299, allocations: 8.656 kB / 0.7362 GB, free: 3.199 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.5299, allocations: 11.44 kB / 0.7362 GB, free: 3.191 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.5299, allocations: 4 kB / 0.7362 GB, free: 3.188 MB / 0.545 GB Notification: Performance of Templates: time 0.004335/0.5343, allocations: 1.655 MB / 0.7378 GB, free: 1.543 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) Environment - environmentSimulation: