Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.861/2.861, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.00135/0.00135, allocations: 185.4 kB / 371 MB, free: 10.84 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.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009125/0.0009121, allocations: 84.44 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005138, allocations: 11.03 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2421, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002036/0.2442, allocations: 1.207 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2458, allocations: 0.7501 MB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2459, allocations: 0 / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.246, allocations: 0 / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2461, allocations: 7.875 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.2466, allocations: 103.8 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.2468, allocations: 67.78 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.2469, allocations: 23.97 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.247, allocations: 27.86 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.2471, allocations: 39.78 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.2472, allocations: 7.984 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2474, allocations: 75.92 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.2475, allocations: 19.91 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.2475, allocations: 41.64 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2478, allocations: 100 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2478, allocations: 7.938 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2478, allocations: 0 / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2478, allocations: 0 / 0.9809 GB, free: 25.76 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008244/0.2486, allocations: 450.5 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2487, allocations: 12.02 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.2488, allocations: 38.55 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.2488, allocations: 15.86 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.249, allocations: 171 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.249, allocations: 8 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.249, allocations: 7.984 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.2493, allocations: 73.59 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2493, allocations: 4 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2493, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2493, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.2495, allocations: 47.97 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.2502, allocations: 324.7 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.2504, allocations: 66.55 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2506, allocations: 40.84 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.2506, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.2509, allocations: 91.55 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.2509, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005578/0.2515, allocations: 173.4 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2515, allocations: 59.38 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2516, allocations: 131 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2517, allocations: 29.69 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.2518, allocations: 92.38 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2518, allocations: 19.72 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.2518, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.2519, allocations: 322.8 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.252, allocations: 31.92 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2522, allocations: 66.38 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2523, allocations: 43.97 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2523, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003445/0.2527, allocations: 125.4 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2527, allocations: 16.06 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2527, allocations: 0 / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2528, allocations: 4 kB / 0.9832 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.2529, allocations: 19.94 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.253, allocations: 7.984 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2531, allocations: 11.94 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.2532, allocations: 7.984 kB / 0.9833 GB, free: 23.04 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2533, allocations: 129.8 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.2533, allocations: 7.906 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.2538, allocations: 146 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2538, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.2538, allocations: 3.953 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.2539, allocations: 3.938 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.2546, allocations: 438.3 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2546, allocations: 0 / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.2547, allocations: 8 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2548, allocations: 4 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.2548, allocations: 11.94 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2548, allocations: 7.938 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2548, allocations: 4 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.2552, allocations: 227.5 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2553, allocations: 85.02 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2553, allocations: 7.984 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2555, allocations: 15.95 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2556, allocations: 16.34 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2556, allocations: 0 / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.2557, allocations: 104.1 kB / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2557, allocations: 0 / 0.9844 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004219/0.2562, allocations: 43.94 kB / 0.9845 GB, free: 21.7 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 (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 (12): * Single equations (assignments): 9 * 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.0009916/0.2572, allocations: 0.8214 MB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.2575, allocations: 91.95 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2576, allocations: 0 / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2577, allocations: 51.91 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2582, allocations: 15.89 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2596, allocations: 0.6731 MB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.2598, allocations: 0.6965 MB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.568e-05/0.2599, allocations: 8.438 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.26, allocations: 31.42 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.26, allocations: 0 / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2824, allocations: 2.73 MB / 0.9895 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/0.2828, allocations: 236.2 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/2.924, allocations: 2.109 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)