Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.876/2.876, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001324/0.001324, allocations: 182.8 kB / 371 MB, free: 10.85 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.13/2.13, 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.000865/0.0008646, allocations: 92.27 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006691/0.0006694, allocations: 10.62 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2321, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002037/0.2342, allocations: 1.214 MB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2359, allocations: 0.7462 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.236, allocations: 0 / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.236, allocations: 3.938 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2362, allocations: 19.91 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.2367, allocations: 87.78 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.2369, allocations: 87.69 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.237, allocations: 8 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2371, allocations: 39.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.2372, allocations: 35.83 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2372, allocations: 4 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2375, allocations: 87.91 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.2375, allocations: 15.92 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.2375, allocations: 37.64 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.2378, allocations: 108 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2378, allocations: 0 / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2378, allocations: 0 / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2378, allocations: 3.938 kB / 0.9809 GB, free: 25.73 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.000837/0.2387, allocations: 462.5 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2387, allocations: 16 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.2388, allocations: 34.56 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.2388, allocations: 15.86 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.239, allocations: 170.9 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.2391, allocations: 37.69 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.2391, allocations: 8 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.2394, allocations: 85.52 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2394, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2395, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-06/0.2395, allocations: 4 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.2398, allocations: 51.95 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.2405, allocations: 328.6 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2408, allocations: 70.53 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.241, allocations: 45 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.241, allocations: 3.984 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.2414, allocations: 99.38 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.405e-06/0.2414, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007388/0.2421, allocations: 181.4 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2422, allocations: 55.41 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2423, allocations: 131.9 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2423, allocations: 29.7 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.2424, allocations: 92.38 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2424, allocations: 27.64 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.2425, allocations: 4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.2425, allocations: 318.8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2427, allocations: 31.98 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2429, allocations: 77.12 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.2431, allocations: 39.92 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2431, allocations: 3.938 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004599/0.2436, allocations: 137.4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2436, allocations: 11.98 kB / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2437, allocations: 0 / 0.9833 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.2437, allocations: 8.047 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.2439, allocations: 20.34 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.2439, allocations: 0 / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2441, allocations: 28.02 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2441, allocations: 4 kB / 0.9834 GB, free: 22.89 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.0001109/0.2442, allocations: 124.3 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.2443, allocations: 11.91 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.2443, allocations: 16.7 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2444, allocations: 3.953 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2444, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2444, allocations: 4 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.2452, allocations: 434.3 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2453, allocations: 0 / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2454, allocations: 11.98 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.413e-06/0.2454, allocations: 7.953 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.2454, allocations: 3.984 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2454, allocations: 3.938 kB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2455, allocations: 8 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.246, allocations: 223.3 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.246, allocations: 93 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.2461, allocations: 3.953 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2463, allocations: 15.98 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2464, allocations: 11.98 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2464, allocations: 4 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.2465, allocations: 103.2 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2465, allocations: 0 / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004075/0.2469, allocations: 36 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 (10): * Single equations (assignments): 7 * 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.001029/0.248, allocations: 0.8277 MB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.2484, allocations: 87.89 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2484, allocations: 3.938 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.2487, allocations: 48.22 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.0003979/0.2491, allocations: 27.88 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.001716/0.2508, allocations: 0.6837 MB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.251, allocations: 0.6965 MB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.911e-05/0.2511, allocations: 20.92 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.2512, allocations: 27.42 kB / 0.9868 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2512, allocations: 0 / 0.9868 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2743, allocations: 2.724 MB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.2746, allocations: 231 kB / 0.9897 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/2.872, allocations: 4.062 kB / 0.9897 GB, free: 16.36 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)