Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 189 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009902/0.0009905, allocations: 98.92 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004228, allocations: 11.19 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001499/0.217, allocations: 1.215 MB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000928/0.2179, allocations: 0.7462 MB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.218, allocations: 0 / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.218, allocations: 4 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.978e-05/0.2181, allocations: 23.89 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.2185, allocations: 99.69 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.198e-05/0.2186, allocations: 59.86 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.2187, allocations: 7.984 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2188, allocations: 35.91 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.2189, allocations: 47.83 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2189, allocations: 4 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.219, allocations: 71.86 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.2191, allocations: 11.98 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.2191, allocations: 37.64 kB / 0.9818 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2193, allocations: 123.9 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2193, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2193, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2193, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 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.0006613/0.22, allocations: 484.2 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.22, allocations: 16.02 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.2201, allocations: 34.5 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2201, allocations: 11.81 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2203, allocations: 186.9 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2203, allocations: 0 / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.2203, allocations: 4 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2205, allocations: 85.64 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2206, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2206, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2206, allocations: 4 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2207, allocations: 55.91 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.2213, allocations: 340.7 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2214, allocations: 86.7 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2215, allocations: 4 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.2217, allocations: 99.34 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.174e-06/0.2217, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003596/0.222, allocations: 181.5 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2221, allocations: 55.36 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.2222, allocations: 138 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2222, allocations: 33.7 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.2222, allocations: 96.05 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2222, allocations: 31.78 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.2223, allocations: 0 / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.2223, allocations: 318.8 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.2224, allocations: 31.98 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.202e-05/0.2225, allocations: 70.41 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.066e-05/0.2225, allocations: 43.97 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2226, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002079/0.2228, allocations: 141.4 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2228, allocations: 7.938 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2228, allocations: 4 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2228, allocations: 0 / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2229, allocations: 23.92 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2229, allocations: 3.953 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.2231, allocations: 31.92 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2231, allocations: 8 kB / 0.9844 GB, free: 22.25 MB / 0.6198 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.94e-05/0.2232, allocations: 123.2 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2232, allocations: 15.83 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.2235, allocations: 154.3 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2235, allocations: 4 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2235, allocations: 4 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2235, allocations: 3.953 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.224, allocations: 458.3 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.224, allocations: 0 / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.2241, allocations: 16 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2241, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2241, allocations: 7.984 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2241, allocations: 3.953 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2241, allocations: 4 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.2244, allocations: 240.1 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.2244, allocations: 93.02 kB / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.2244, allocations: 0 / 0.9855 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2245, allocations: 11.98 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.2246, allocations: 15.94 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2246, allocations: 4 kB / 0.9855 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.2247, allocations: 109.6 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2247, allocations: 0 / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002999/0.225, allocations: 40 kB / 0.9857 GB, free: 20.87 MB / 0.6198 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006158/0.2256, allocations: 0.8502 MB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2258, allocations: 97.02 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2258, allocations: 0 / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.2259, allocations: 55.91 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2262, allocations: 20.88 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.2269, allocations: 1.237 MB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.648e-05/0.227, allocations: 0.7043 MB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.227, allocations: 8.422 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.2271, allocations: 34.3 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2271, allocations: 0 / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.2383, allocations: 2.916 MB / 0.9914 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.2385, allocations: 244.2 kB / 0.9917 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.724, allocations: 7.938 kB / 0.9917 GB, free: 14.76 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)