Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00165/0.00165, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002005/0.002005, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.52 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003447/0.3342, allocations: 1.606 MB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3356, allocations: 0.7634 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.3356, allocations: 0 / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.3357, allocations: 7.922 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3358, allocations: 15.88 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.3364, allocations: 115.8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3365, allocations: 99.64 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3366, allocations: 19.97 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3367, allocations: 35.86 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.3368, allocations: 55.81 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3369, allocations: 11.94 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.337, allocations: 99.83 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.3371, allocations: 23.92 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.3371, allocations: 43.78 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3374, allocations: 163.8 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3374, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3374, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3374, allocations: 0 / 1.071 GB, free: 7.75 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.0008262/0.3383, allocations: 0.5001 MB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3383, allocations: 12.02 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.3384, allocations: 8.844 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3385, allocations: 180.2 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3385, allocations: 8.375 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3386, allocations: 4.375 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3388, allocations: 81.94 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.3388, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3388, allocations: 8 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3388, allocations: 4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.339, allocations: 47.91 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.3396, allocations: 336.6 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3398, allocations: 82.7 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.3399, allocations: 40.84 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3399, allocations: 3.984 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.3402, allocations: 95.36 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3402, allocations: 0 / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0004463/0.3407, allocations: 177.4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3407, allocations: 59.41 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3409, allocations: 147.4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3409, allocations: 33.7 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.3409, allocations: 92.12 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.341, allocations: 27.64 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.341, allocations: 33.7 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3412, allocations: 326.8 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.3413, allocations: 31.98 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.3414, allocations: 70.25 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3415, allocations: 109 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.3416, allocations: 7.938 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000241/0.3418, allocations: 133.3 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3418, allocations: 7.938 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3418, allocations: 4 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3419, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.342, allocations: 19.98 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.342, allocations: 12.09 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3421, allocations: 15.92 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3421, allocations: 4 kB / 1.073 GB, free: 4.793 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.0001115/0.3423, allocations: 129.7 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.3423, allocations: 11.91 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.3427, allocations: 169.8 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3427, allocations: 11.94 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3427, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3427, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.3433, allocations: 466.2 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3433, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.3434, allocations: 15.98 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3434, allocations: 7.938 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3435, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3435, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3435, allocations: 3.938 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.3438, allocations: 243.5 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.3439, allocations: 92.98 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3439, allocations: 4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.344, allocations: 11.98 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.3441, allocations: 19.92 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3441, allocations: 4 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.624e-05/0.3442, allocations: 105.2 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3442, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003548/0.3446, allocations: 43.98 kB / 1.075 GB, free: 3.371 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.0004856/0.3451, allocations: 172.6 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.3454, allocations: 95.89 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3454, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3456, allocations: 59.91 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3459, allocations: 15.98 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.3466, allocations: 263.8 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3469, allocations: 0.704 MB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.045e-05/0.347, allocations: 12.55 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.347, allocations: 19.42 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/0.347, allocations: 3.938 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.005058/0.3521, allocations: 1.948 MB / 1.078 GB, free: 56 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)