Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_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.001159/0.001159, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.515/2.515, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.748/4.748, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004225, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441/1.442, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001165/1.443, allocations: 335.9 kB / 0.9812 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00236/1.445, allocations: 1.072 MB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/1.445, allocations: 0 / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/1.445, allocations: 0 / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/1.445, allocations: 3.984 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/1.446, allocations: 111 kB / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000126/1.446, allocations: 35.95 kB / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.447, allocations: 12 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/1.447, allocations: 35.89 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/1.447, allocations: 15.97 kB / 0.9824 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/1.447, allocations: 4 kB / 0.9824 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/1.447, allocations: 16 kB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/1.447, allocations: 3.984 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/1.447, allocations: 37.64 kB / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/1.447, allocations: 51.88 kB / 0.9825 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.447, allocations: 0 / 0.9825 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.877e-06/1.447, allocations: 0 / 0.9825 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.642e-06/1.447, allocations: 8 kB / 0.9826 GB, free: 4.535 MB / 0.7325 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.000616/1.448, allocations: 359.3 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/1.448, allocations: 12.03 kB / 0.9829 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/1.448, allocations: 30.56 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/1.448, allocations: 4 kB / 0.9829 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/1.448, allocations: 166.9 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/1.448, allocations: 11.94 kB / 0.9831 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/1.448, allocations: 4 kB / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/1.449, allocations: 41.64 kB / 0.9832 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.449, allocations: 3.938 kB / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/1.449, allocations: 0 / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/1.449, allocations: 11.94 kB / 0.9832 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/1.449, allocations: 7.984 kB / 0.9832 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/1.449, allocations: 284.9 kB / 0.9834 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/1.449, allocations: 22.53 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/1.449, allocations: 8.062 kB / 0.9835 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/1.45, allocations: 59.33 kB / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/1.45, allocations: 0 / 0.9835 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002961/1.45, allocations: 61.69 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/1.45, allocations: 51.41 kB / 0.9836 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.45, allocations: 105.8 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/1.45, allocations: 29.7 kB / 0.9838 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/1.45, allocations: 92.05 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/1.45, allocations: 4 kB / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/1.45, allocations: 0 / 0.9839 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.451, allocations: 318.8 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.451, allocations: 31.92 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/1.451, allocations: 46.56 kB / 0.9842 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/1.451, allocations: 57.69 kB / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.451, allocations: 0 / 0.9843 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004104/1.451, allocations: 151.2 kB / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/1.452, allocations: 37.69 kB / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.452, allocations: 0 / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.452, allocations: 0 / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.592e-05/1.452, allocations: 0 / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.452, allocations: 4 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/1.452, allocations: 40.62 kB / 0.9845 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/1.452, allocations: 7.984 kB / 0.9845 GB, free: 2.25 MB / 0.7325 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 0.0001593/1.452, allocations: 113.8 kB / 0.9846 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/1.452, allocations: 11.89 kB / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/1.452, allocations: 3.906 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.452, allocations: 0 / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.452, allocations: 4 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.452, allocations: 4 kB / 0.9847 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.453, allocations: 161.6 kB / 0.9848 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.453, allocations: 3.938 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/1.453, allocations: 0 / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.453, allocations: 0 / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.453, allocations: 11.89 kB / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.453, allocations: 0 / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.453, allocations: 0 / 0.9848 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/1.453, allocations: 85.02 kB / 0.9849 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/1.453, allocations: 81.11 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/1.453, allocations: 320 / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/1.453, allocations: 7.953 kB / 0.985 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/1.453, allocations: 288 / 0.985 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/1.453, allocations: 8 kB / 0.985 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.843e-05/1.453, allocations: 87.2 kB / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.453, allocations: 0 / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004085/1.454, allocations: 20 kB / 0.9851 GB, free: 1.559 MB / 0.7325 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.0005955/1.454, allocations: 0.6241 MB / 0.9857 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003314/1.455, allocations: 119.3 kB / 0.9858 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.455, allocations: 4 kB / 0.9858 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/1.455, allocations: 4 kB / 0.9858 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/1.455, allocations: 24.06 kB / 0.9859 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/1.456, allocations: 0.6283 MB / 0.9865 GB, free: 64 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/1.456, allocations: 0.6848 MB / 0.9871 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.657e-05/1.456, allocations: 4 kB / 0.9871 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/1.456, allocations: 7.438 kB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/1.456, allocations: 3.938 kB / 0.9872 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/1.479, allocations: 1.688 MB / 0.9888 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/1.479, allocations: 184.7 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/4.224, allocations: 3.938 kB / 0.989 GB, free: 13.55 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat