Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.753/1.753, allocations: 288.4 MB / 303.3 MB, free: 8.051 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.001086/0.001086, allocations: 186.3 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.6307 GB, free: 10.05 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.0007734/0.0007733, allocations: 86.41 kB / 0.744 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 10.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001749/0.2422, allocations: 1.191 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2435, allocations: 0.7226 MB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.2436, allocations: 0 / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.2436, allocations: 3.938 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.2437, allocations: 15.86 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.2443, allocations: 87.83 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2444, allocations: 63.72 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.2445, allocations: 4 kB / 0.9817 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.2446, allocations: 39.91 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.2447, allocations: 23.91 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2447, allocations: 4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2449, allocations: 83.84 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.2449, allocations: 11.98 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.245, allocations: 37.64 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2452, allocations: 100 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2452, allocations: 4 kB / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2452, allocations: 0 / 0.982 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2452, allocations: 0 / 0.982 GB, free: 25.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005847/0.2458, allocations: 430.5 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2458, allocations: 12.02 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.2459, allocations: 42.55 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.2459, allocations: 7.906 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.246, allocations: 174.9 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.2461, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2461, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2463, allocations: 73.64 kB / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2463, allocations: 0 / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2463, allocations: 0 / 0.9827 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2463, allocations: 8 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.2465, allocations: 39.97 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.2469, allocations: 300.7 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2471, allocations: 54.56 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.2472, allocations: 36.95 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2472, allocations: 0 / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.2474, allocations: 83.38 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2474, allocations: 0 / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003946/0.2478, allocations: 149.7 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2479, allocations: 55.41 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.248, allocations: 125.8 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.248, allocations: 29.7 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.248, allocations: 88.33 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2481, allocations: 23.8 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.2481, allocations: 7.938 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.2482, allocations: 314.8 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.2482, allocations: 23.98 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.2483, allocations: 69.56 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.2484, allocations: 27.94 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2484, allocations: 11.98 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002065/0.2486, allocations: 117.4 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2487, allocations: 4 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2487, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2487, allocations: 4 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.2488, allocations: 16.16 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2488, allocations: 12.02 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.2489, allocations: 15.98 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2489, allocations: 48 / 0.9842 GB, free: 22.62 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: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.902e-05/0.249, allocations: 131 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.249, allocations: 7.906 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.249, allocations: 12.36 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.249, allocations: 0 / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2491, allocations: 4 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2491, allocations: 3.953 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.2495, allocations: 378.5 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2495, allocations: 0 / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.2495, allocations: 4 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2495, allocations: 0 / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2495, allocations: 11.98 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2495, allocations: 3.953 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2496, allocations: 0 / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.2498, allocations: 211.4 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.2498, allocations: 85.02 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2499, allocations: 11.92 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.25, allocations: 4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.25, allocations: 15.94 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.25, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.2501, allocations: 99.36 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2501, allocations: 0 / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002812/0.2504, allocations: 36 kB / 0.9852 GB, free: 21.53 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.000652/0.251, allocations: 0.7973 MB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2512, allocations: 79.88 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2513, allocations: 4 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.2514, allocations: 35.92 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2516, allocations: 20.53 kB / 0.9861 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.2526, allocations: 0.6112 MB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2527, allocations: 0.6926 MB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.2527, allocations: 8.266 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2528, allocations: 23.42 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2528, allocations: 0 / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01335/0.2662, allocations: 2.334 MB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.2664, allocations: 254.9 kB / 0.9899 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.889, allocations: 0 / 0.9899 GB, free: 16.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)