Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.647/2.647, allocations: 287.5 MB / 302.4 MB, free: 8.25 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: 178.4 kB / 371 MB, free: 10.86 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.407/2.407, allocations: 205.4 MB / 0.6297 GB, free: 10.52 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.0009112/0.0009109, allocations: 94.27 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006757/0.000676, allocations: 11.61 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2219, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001732/0.2237, allocations: 1.226 MB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2253, allocations: 0.7385 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.2254, allocations: 7.938 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2254, allocations: 0 / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2255, allocations: 19.84 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.2261, allocations: 99.77 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2262, allocations: 83.7 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.2263, allocations: 11.98 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.2264, allocations: 39.84 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.2265, allocations: 43.83 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2265, allocations: 4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.2268, allocations: 87.84 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.2268, allocations: 19.97 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.2269, allocations: 37.62 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.2271, allocations: 112 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2271, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2271, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2271, allocations: 0 / 0.9809 GB, free: 25.7 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.0007602/0.2279, allocations: 488.2 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2279, allocations: 12.02 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.228, allocations: 34.56 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.228, allocations: 19.75 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2282, allocations: 182.2 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2282, allocations: 0 / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.2282, allocations: 8 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.2285, allocations: 81.64 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2285, allocations: 4 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2285, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2285, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.2288, allocations: 59.89 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.2295, allocations: 340.7 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.2298, allocations: 82.67 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2299, allocations: 40.84 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.23, allocations: 12.02 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.2303, allocations: 99.34 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.906e-06/0.2303, allocations: 7.922 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0006003/0.2309, allocations: 177.5 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.2309, allocations: 63.41 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2311, allocations: 134 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2311, allocations: 25.7 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.2311, allocations: 104 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2312, allocations: 23.66 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.2312, allocations: 4 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.2313, allocations: 322.8 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2314, allocations: 31.98 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2316, allocations: 69.12 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2317, allocations: 35.98 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2317, allocations: 4 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003661/0.2321, allocations: 137.4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2321, allocations: 11.98 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2322, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2322, allocations: 7.953 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2324, allocations: 23.92 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.2324, allocations: 4.078 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.2326, allocations: 23.84 kB / 0.9835 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2326, allocations: 7.984 kB / 0.9835 GB, free: 22.81 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 0.0001025/0.2327, allocations: 125.8 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2327, allocations: 7.906 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.2333, allocations: 166.3 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2333, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2333, allocations: 3.953 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2333, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.2341, allocations: 459.1 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2341, allocations: 4 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.2342, allocations: 19.98 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2343, allocations: 3.953 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2343, allocations: 4 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2343, allocations: 0 / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2343, allocations: 0 / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.2347, allocations: 248.2 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.2348, allocations: 81.02 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2348, allocations: 11.94 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.235, allocations: 12 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.2351, allocations: 7.984 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2351, allocations: 8.125 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.2352, allocations: 101 kB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2352, allocations: 4 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004079/0.2356, allocations: 43.98 kB / 0.9847 GB, free: 21.43 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.0009272/0.2366, allocations: 0.8508 MB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.237, allocations: 91.89 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.237, allocations: 0 / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2372, allocations: 53.05 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2376, allocations: 26.7 kB / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2391, allocations: 0.7139 MB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2393, allocations: 0.7004 MB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.2394, allocations: 8.438 kB / 0.9871 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.2395, allocations: 27.42 kB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.2395, allocations: 0 / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2662, allocations: 2.937 MB / 0.99 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.2666, allocations: 238.5 kB / 0.9902 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/2.946, allocations: 3.938 kB / 0.9902 GB, free: 15.83 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)