Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.912/2.912, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001326/0.001325, allocations: 182.3 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.169/2.169, 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.001009/0.001009, allocations: 97.97 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007724/0.0007726, allocations: 12.69 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2453, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009446/0.2463, allocations: 442.4 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2473, allocations: 0.8244 MB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2474, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.2474, allocations: 3.938 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.2475, allocations: 3.938 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2477, allocations: 15.98 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.2478, allocations: 39.91 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.2479, allocations: 12 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.2479, allocations: 15.91 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.248, allocations: 19.92 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2481, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.2481, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2481, allocations: 11.98 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.2481, allocations: 29.64 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.991e-05/0.2482, allocations: 27.94 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2482, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2482, allocations: 4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.2483, allocations: 0 / 0.9799 GB, free: 26.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000723/0.249, allocations: 387.5 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.249, allocations: 15.95 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.2491, allocations: 30.56 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2491, allocations: 7.906 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2492, allocations: 178.9 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2493, allocations: 8 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2493, allocations: 4 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2495, allocations: 69.61 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2496, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2496, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2496, allocations: 0 / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.2499, allocations: 59.95 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.2505, allocations: 296.7 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.2509, allocations: 66.55 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.251, allocations: 32.92 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2511, allocations: 0 / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2511, allocations: 34.56 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.326e-06/0.2511, allocations: 3.984 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005361/0.2517, allocations: 113.6 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2517, allocations: 59.3 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.2518, allocations: 109.8 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.2518, allocations: 29.7 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.2519, allocations: 92.03 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.2519, allocations: 7.906 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.2519, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/0.252, allocations: 314.8 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2522, allocations: 31.97 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2523, allocations: 27.98 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2525, allocations: 15.98 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2525, allocations: 0 / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003377/0.2529, allocations: 89.66 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2529, allocations: 7.984 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2529, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2529, allocations: 4.375 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.2531, allocations: 19.94 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2531, allocations: 3.953 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2533, allocations: 23.91 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2533, allocations: 7.938 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.665e-05/0.2534, allocations: 109.8 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2534, allocations: 11.91 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.2538, allocations: 85.55 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2538, allocations: 4 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2538, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2538, allocations: 3.953 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.254, allocations: 173.7 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.254, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.967e-05/0.2541, allocations: 11.94 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2542, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2542, allocations: 3.984 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2542, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2542, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.2546, allocations: 187.4 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2546, allocations: 77.11 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2546, allocations: 3.938 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2549, allocations: 35.97 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.2549, allocations: 3.984 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.2549, allocations: 4 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.255, allocations: 83.28 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.255, allocations: 4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002776/0.2553, allocations: 4 kB / 0.9827 GB, free: 23.56 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005711/0.2559, allocations: 0.7283 MB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.2563, allocations: 59.95 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.2563, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.2564, allocations: 31.92 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2568, allocations: 10.05 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.258, allocations: 487.2 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2581, allocations: 0.6812 MB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.019e-05/0.2582, allocations: 4 kB / 0.9846 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.2582, allocations: 15.42 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.2582, allocations: 3.938 kB / 0.9847 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.2772, allocations: 1.437 MB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.2775, allocations: 203.8 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.807, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)