Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 175.1 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.578 GB, free: 20.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.000923, allocations: 94.61 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.000368, allocations: 12.42 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 106.3 MB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001465/0.2563, allocations: 1.026 MB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.2567, allocations: 196.3 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.2567, allocations: 4 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.2568, allocations: 0 / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.2569, allocations: 3.938 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.257, allocations: 11.98 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.2571, allocations: 27.92 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.2572, allocations: 11.98 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.2572, allocations: 7.938 kB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.2573, allocations: 8 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.2573, allocations: 3.938 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.2573, allocations: 7.938 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.2573, allocations: 3.984 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.2574, allocations: 37.64 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.2575, allocations: 19.94 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2575, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2575, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2575, allocations: 4 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004141/0.2579, allocations: 339.8 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.258, allocations: 15.97 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.258, allocations: 34.69 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.258, allocations: 4.844 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.874e-05/0.2581, allocations: 172.4 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2582, allocations: 384 / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2582, allocations: 8.375 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.2583, allocations: 38.25 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2583, allocations: 3.938 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2583, allocations: 0 / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2583, allocations: 3.938 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.2583, allocations: 11.98 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.2586, allocations: 241 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.481e-05/0.2587, allocations: 38.5 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.2587, allocations: 12.92 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.2587, allocations: 0 / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.2589, allocations: 55.34 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.2589, allocations: 0 / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001514/0.259, allocations: 53.59 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2591, allocations: 55.41 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.2592, allocations: 105.8 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.2592, allocations: 29.7 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.2592, allocations: 84.14 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.2592, allocations: 3.906 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2593, allocations: 4 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2593, allocations: 314.8 kB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.2593, allocations: 7.938 kB / 0.9038 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.2594, allocations: 25.72 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.2594, allocations: 25.64 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2594, allocations: 4 kB / 0.9039 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.331e-05/0.2595, allocations: 49.92 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2595, allocations: 7.984 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2595, allocations: 4 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2596, allocations: 0 / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.2596, allocations: 48 / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2596, allocations: 8.031 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.2597, allocations: 11.92 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.2597, allocations: 0 / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.2598, allocations: 117.8 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.2598, allocations: 4 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2598, allocations: 11.44 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2598, allocations: 0 / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2598, allocations: 0 / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2598, allocations: 7.938 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.2599, allocations: 161.6 kB / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.26, allocations: 4 kB / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.26, allocations: 256 / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.26, allocations: 0 / 0.9042 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.829e-05/0.2601, allocations: 84.97 kB / 0.9043 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.2601, allocations: 81.11 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.2601, allocations: 4 kB / 0.9044 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.2602, allocations: 7.984 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2602, allocations: 3.984 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2602, allocations: 4 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.2603, allocations: 83.28 kB / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2603, allocations: 0 / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.2605, allocations: 4 kB / 0.9045 GB, free: 59.66 MB / 0.6042 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,booPul.y,booPul.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.2608, allocations: 0.6163 MB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.2608, allocations: 19.94 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2608, allocations: 0 / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.2609, allocations: 12 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2611, allocations: 12.05 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.2618, allocations: 1.155 MB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2619, allocations: 0.6771 MB / 0.9069 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.2619, allocations: 8.266 kB / 0.907 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.262, allocations: 11.44 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.262, allocations: 0 / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.3704, allocations: 1.187 MB / 0.9081 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/0.3707, allocations: 215.2 kB / 0.9083 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.052, allocations: 0 / 0.9083 GB, free: 55.72 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)