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.421/1.421, allocations: 252 MB / 267 MB, free: 10.93 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.001456/0.001456, allocations: 186.8 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007303/0.0007303, allocations: 93.42 kB / 0.6823 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003732, allocations: 13.09 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 106.3 MB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001364/0.2251, allocations: 1.018 MB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003455/0.2255, allocations: 184.4 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.2255, allocations: 0 / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.2256, allocations: 3.938 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.2256, allocations: 3.984 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2258, allocations: 11.94 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.2258, allocations: 27.92 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.2259, allocations: 8 kB / 0.9015 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.226, allocations: 11.92 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.226, allocations: 4 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2261, allocations: 4 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.2261, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2261, allocations: 7.922 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.2261, allocations: 33.69 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.499e-05/0.2262, allocations: 19.97 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2262, allocations: 0 / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2262, allocations: 0 / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2262, allocations: 4 kB / 0.9016 GB, free: 62.77 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.0003827/0.2266, allocations: 331.6 kB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2266, allocations: 12.03 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.2267, allocations: 38.5 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.2267, allocations: 7.844 kB / 0.902 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2269, allocations: 171 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2269, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2269, allocations: 4 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.736e-05/0.227, allocations: 41.64 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.227, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.227, allocations: 3.984 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.227, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.2271, allocations: 8 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2274, allocations: 252.9 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.2274, allocations: 34.56 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.2275, allocations: 4.859 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.2275, allocations: 3.938 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.2276, allocations: 55.47 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.2276, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001487/0.2278, allocations: 49.69 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2278, allocations: 63.39 kB / 0.9027 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.2279, allocations: 109.7 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2279, allocations: 29.64 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.2279, allocations: 84.12 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.2279, allocations: 8 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.2279, allocations: 0 / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.228, allocations: 310.8 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.228, allocations: 8 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.2281, allocations: 21.7 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.2281, allocations: 8 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2281, allocations: 0 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.3e-05/0.2282, allocations: 57.53 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2282, allocations: 4 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2282, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2282, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-05/0.2282, allocations: 4.25 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2283, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.2283, allocations: 19.98 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2283, allocations: 7.938 kB / 0.9033 GB, free: 60.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.2284, allocations: 110.5 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.2284, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.2284, allocations: 7.5 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2284, allocations: 3.938 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2285, allocations: 0 / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2285, allocations: 4 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.631e-05/0.2286, allocations: 165.6 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2286, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.2286, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2286, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.2286, allocations: 0 / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2286, allocations: 7.938 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2286, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.068e-05/0.2287, allocations: 76.98 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.2287, allocations: 81.48 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2287, allocations: 7.984 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.2288, allocations: 4 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2288, allocations: 7.984 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.2288, allocations: 3.984 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.2289, allocations: 83.28 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2289, allocations: 0 / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002036/0.2291, allocations: 8 kB / 0.9039 GB, free: 60.15 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 (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.0002361/0.2293, allocations: 0.6163 MB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.2294, allocations: 12 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2294, allocations: 4 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.2294, allocations: 15.92 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.2296, allocations: 5.781 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.2301, allocations: 405.2 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2302, allocations: 0.677 MB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.2303, allocations: 0 / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2303, allocations: 15.44 kB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2303, allocations: 96 / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.243, allocations: 1.176 MB / 0.9067 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.2431, allocations: 205.8 kB / 0.9069 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.927, allocations: 0 / 0.9069 GB, free: 57.04 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)