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.001288/0.001287, allocations: 90.59 kB / 15.06 MB, free: 1.094 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.001986/0.001986, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.853/1.853, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005479/0.000548, allocations: 10.78 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2619, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0006854/0.2627, allocations: 333.9 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2639, allocations: 1.091 MB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.264, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.264, allocations: 3.938 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.2641, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.2645, allocations: 110.4 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.2646, allocations: 63.89 kB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.108e-05/0.2647, allocations: 11.97 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.2647, allocations: 27.92 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.2648, allocations: 27.91 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2648, allocations: 4 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.2649, allocations: 15.98 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.2649, allocations: 7.984 kB / 0.7891 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.265, allocations: 29.7 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.703e-05/0.2651, allocations: 59.88 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2651, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2651, allocations: 0 / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2651, allocations: 0 / 0.7891 GB, free: 10.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.0004043/0.2655, allocations: 365.2 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2656, allocations: 8.031 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2656, allocations: 34.55 kB / 0.7895 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.2657, allocations: 4 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2658, allocations: 175 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2658, allocations: 0 / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.2658, allocations: 7.984 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.2659, allocations: 37.69 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.266, allocations: 0 / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.266, allocations: 3.938 kB / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.266, allocations: 4 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.266, allocations: 11.94 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.2664, allocations: 288.8 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/0.2665, allocations: 26.5 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.2665, allocations: 8.922 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-06/0.2665, allocations: 0 / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.2666, allocations: 59.39 kB / 0.7901 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2667, allocations: 4 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001689/0.2668, allocations: 61.62 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.2669, allocations: 51.41 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.267, allocations: 109.8 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.267, allocations: 33.7 kB / 0.7904 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.2671, allocations: 84.12 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.2671, allocations: 15.84 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2671, allocations: 4 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2673, allocations: 322.8 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.2674, allocations: 27.98 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.533e-05/0.2674, allocations: 46.56 kB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.2675, allocations: 57.69 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2675, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002255/0.2678, allocations: 147.2 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.2678, allocations: 45.62 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2678, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2678, allocations: 0 / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.2678, allocations: 4 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2679, allocations: 3.984 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.2681, allocations: 36.06 kB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2681, allocations: 4 kB / 0.7911 GB, free: 7.766 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 ($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.0001151/0.2682, allocations: 125.8 kB / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.2682, allocations: 0 / 0.7913 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.2683, allocations: 3.906 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2683, allocations: 4 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2683, allocations: 0 / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2683, allocations: 4 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2684, allocations: 165.6 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2684, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.683e-06/0.2684, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2685, allocations: 7.938 kB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2685, allocations: 0 / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2685, allocations: 0 / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2685, allocations: 240 / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.2686, allocations: 92.84 kB / 0.7915 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.2686, allocations: 89.09 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2687, allocations: 0 / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.2687, allocations: 0 / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.2687, allocations: 4 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.2687, allocations: 0 / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.2688, allocations: 91.58 kB / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2688, allocations: 0 / 0.7917 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002063/0.269, allocations: 16 kB / 0.7917 GB, free: 7.07 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 (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.0005741/0.2696, allocations: 0.6202 MB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.2698, allocations: 119.4 kB / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2698, allocations: 0 / 0.7924 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.2698, allocations: 15.94 kB / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.27, allocations: 8.172 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.2708, allocations: 490.2 kB / 0.7929 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2711, allocations: 0.6848 MB / 0.7936 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.2711, allocations: 4 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.2712, allocations: 19.42 kB / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2712, allocations: 0 / 0.7936 GB, free: 5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.3095, allocations: 1.701 MB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.3099, allocations: 201.8 kB / 0.7955 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.201, allocations: 0 / 0.7955 GB, free: 3.184 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: