Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.68/2.68, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001303/0.001302, allocations: 179.3 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.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.55 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.0008926/0.0008923, allocations: 100.6 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005259, allocations: 12.12 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001579/0.2157, allocations: 325.9 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2174, allocations: 1.087 MB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2175, allocations: 0 / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.2175, allocations: 0 / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2176, allocations: 3.984 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.2182, allocations: 107 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2183, allocations: 63.83 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.2184, allocations: 15.92 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.2185, allocations: 27.98 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.2186, allocations: 27.89 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.2186, allocations: 4 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.2187, allocations: 15.98 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.2188, allocations: 4 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.2188, allocations: 29.7 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.219, allocations: 59.86 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.219, allocations: 3.938 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.219, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.219, allocations: 0 / 0.9802 GB, free: 26.45 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003771/0.2194, allocations: 361.2 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2194, allocations: 12.02 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.2195, allocations: 30.56 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.2195, allocations: 7.984 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/0.2196, allocations: 167 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2197, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2197, allocations: 8 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.58e-05/0.2198, allocations: 41.69 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2198, allocations: 0 / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2199, allocations: 0 / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2199, allocations: 0 / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.2199, allocations: 15.88 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.2203, allocations: 284.8 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.694e-05/0.2204, allocations: 26.56 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.2204, allocations: 12.92 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.2204, allocations: 0 / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.2206, allocations: 67.31 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.2206, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002024/0.2208, allocations: 57.69 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2209, allocations: 55.41 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.2209, allocations: 109.8 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.221, allocations: 33.7 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.221, allocations: 84.14 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.2211, allocations: 15.78 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.2211, allocations: 0 / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.2212, allocations: 318.8 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2213, allocations: 27.98 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2214, allocations: 50.5 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2215, allocations: 57.69 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2215, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003322/0.2219, allocations: 147.2 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.2219, allocations: 37.7 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.2219, allocations: 0 / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.222, allocations: 3.984 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.222, allocations: 4 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.222, allocations: 0 / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.2224, allocations: 40.02 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2224, allocations: 4 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.02e-05/0.2225, allocations: 123.1 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.2226, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2226, allocations: 7.906 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2226, allocations: 4.312 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2226, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2226, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2228, allocations: 169.5 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2228, allocations: 4 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2228, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.223, allocations: 84.98 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.223, allocations: 81.11 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.223, allocations: 7.922 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.2231, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.2231, allocations: 4 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-06/0.2231, allocations: 0 / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.2232, allocations: 83.27 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.363e-06/0.2232, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002929/0.2235, allocations: 31.94 kB / 0.9828 GB, free: 23.46 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000339/0.2238, allocations: 0.6205 MB / 0.9834 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.2241, allocations: 119.3 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2241, allocations: 4 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.2242, allocations: 12.22 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2245, allocations: 15.98 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.2255, allocations: 494.1 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2257, allocations: 0.677 MB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.2257, allocations: 4 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.2257, allocations: 11.42 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2258, allocations: 4 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.2452, allocations: 1.727 MB / 0.9863 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.2455, allocations: 185.9 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.763, allocations: 4 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)