Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 69.52 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00183/0.257, allocations: 0.6116 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2584, allocations: 1.102 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.2584, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.2585, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.418e-05/0.2585, allocations: 3.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.259, allocations: 130.4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2591, allocations: 91.88 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.2592, allocations: 8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.2593, allocations: 31.97 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.2594, allocations: 39.88 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.2594, allocations: 8 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.2595, allocations: 19.94 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.2595, allocations: 7.984 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.2596, allocations: 27.92 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2597, allocations: 83.78 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2598, allocations: 4 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2598, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2598, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 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.0004268/0.2602, allocations: 373.4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2603, allocations: 15.97 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.926e-05/0.2603, allocations: 30.75 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2603, allocations: 8.938 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2604, allocations: 168.3 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2605, allocations: 384 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2605, allocations: 8.359 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.264e-05/0.2606, allocations: 38.2 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.2606, allocations: 7.938 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2606, allocations: 4 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2606, allocations: 0 / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.418e-05/0.2607, allocations: 7.984 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.261, allocations: 280.9 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.2611, allocations: 22.52 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.2611, allocations: 4.859 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2611, allocations: 11.88 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.2612, allocations: 59.45 kB / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.2613, allocations: 0 / 0.7867 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001753/0.2614, allocations: 61.69 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2615, allocations: 55.39 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.2616, allocations: 113.8 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2616, allocations: 33.64 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.2617, allocations: 88.12 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2617, allocations: 11.94 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.2617, allocations: 25.7 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.2618, allocations: 314.8 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.2619, allocations: 27.98 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.262, allocations: 50.8 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.2621, allocations: 92.2 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2621, allocations: 0 / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002243/0.2624, allocations: 147.2 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.2624, allocations: 33.7 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2624, allocations: 4 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2624, allocations: 240 / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.495e-05/0.2625, allocations: 0 / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2625, allocations: 0 / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2627, allocations: 36.05 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2627, allocations: 4 kB / 0.7878 GB, free: 8.707 MB / 0.6075 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.2628, allocations: 117.8 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.2628, allocations: 3.984 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.2628, allocations: 7.906 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2628, allocations: 0 / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2628, allocations: 3.984 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2628, allocations: 7.938 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.263, allocations: 161.5 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.263, allocations: 4 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.263, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.263, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.263, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.263, allocations: 3.938 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.263, allocations: 3.984 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.2631, allocations: 85 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.2632, allocations: 81.11 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2632, allocations: 0 / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.2632, allocations: 0 / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2633, allocations: 11.98 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2633, allocations: 0 / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.2633, allocations: 79.28 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2633, allocations: 4 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002027/0.2635, allocations: 16 kB / 0.7884 GB, free: 8.023 MB / 0.6075 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 (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.0003918/0.2639, allocations: 0.6252 MB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2641, allocations: 119.4 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2641, allocations: 0 / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.2642, allocations: 15.92 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.2644, allocations: 16.12 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2657, allocations: 1.365 MB / 0.7904 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.2659, allocations: 0.6768 MB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.2659, allocations: 4 kB / 0.7911 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.266, allocations: 15.38 kB / 0.7911 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.266, allocations: 0 / 0.7911 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.2862, allocations: 1.959 MB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.597, allocations: 7.906 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)