Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001826/0.001827, allocations: 196.3 kB / 16.14 MB, free: 6.715 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 64.72 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3841, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003602/0.3878, allocations: 1.603 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3894, allocations: 0.7712 MB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.3895, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.3896, allocations: 7.922 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.3897, allocations: 15.86 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.3904, allocations: 107.8 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3906, allocations: 95.64 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3907, allocations: 15.98 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3909, allocations: 51.77 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.391, allocations: 43.83 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.391, allocations: 7.984 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.3913, allocations: 83.92 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.3913, allocations: 23.91 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.3914, allocations: 35.8 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.3917, allocations: 167.7 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3918, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3918, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.3918, allocations: 0 / 1.07 GB, free: 7.906 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009688/0.3927, allocations: 0.5041 MB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3928, allocations: 12.02 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.3929, allocations: 8.844 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.393, allocations: 180.2 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3931, allocations: 4.359 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3931, allocations: 12.38 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3933, allocations: 85.88 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3934, allocations: 7.938 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3934, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3934, allocations: 4 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.3936, allocations: 43.97 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.3942, allocations: 336.6 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3945, allocations: 82.67 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.3946, allocations: 40.83 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3946, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.3949, allocations: 99.34 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 4.489e-06/0.3949, allocations: 4.094 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004451/0.3954, allocations: 173.4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3954, allocations: 55.41 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.3956, allocations: 151.2 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3956, allocations: 25.7 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3957, allocations: 96.14 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.3957, allocations: 27.64 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.3958, allocations: 33.7 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3959, allocations: 326.8 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.396, allocations: 27.98 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3961, allocations: 81.06 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.3963, allocations: 101.1 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3963, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002643/0.3966, allocations: 141.5 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3966, allocations: 5.719 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3966, allocations: 3.984 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3967, allocations: 4.094 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3968, allocations: 19.98 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3968, allocations: 7.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3969, allocations: 15.92 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3969, allocations: 8 kB / 1.073 GB, free: 4.941 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001179/0.3971, allocations: 128.6 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3971, allocations: 7.906 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.3975, allocations: 174.3 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3975, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3975, allocations: 4 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3975, allocations: 0 / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.3982, allocations: 466.1 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3982, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3983, allocations: 15.98 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3983, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3984, allocations: 8 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3984, allocations: 3.938 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3984, allocations: 3.938 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3987, allocations: 250.7 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3988, allocations: 89 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3988, allocations: 0 / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.399, allocations: 15.94 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.3991, allocations: 19.91 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3991, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.708e-05/0.3992, allocations: 109 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3992, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003571/0.3995, allocations: 44 kB / 1.074 GB, free: 3.52 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003948/0.3999, allocations: 161.3 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.4002, allocations: 95.88 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4002, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4004, allocations: 59.91 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4007, allocations: 16.17 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.4013, allocations: 261.4 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4016, allocations: 0.7005 MB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.008e-05/0.4017, allocations: 20.42 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.4017, allocations: 19.44 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4017, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of Templates: time 0.005196/0.4069, allocations: 1.868 MB / 1.077 GB, free: 296 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)