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.001144/0.001144, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00108/0.00108, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.722/1.722, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001379/0.001379, allocations: 73.69 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2362, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001923/0.2381, allocations: 0.6727 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2395, allocations: 1.099 MB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2396, allocations: 3.938 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2396, allocations: 7.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.2397, allocations: 11.98 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.2402, allocations: 103 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2403, allocations: 95.89 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2404, allocations: 3.984 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.2405, allocations: 35.91 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.2406, allocations: 27.91 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2406, allocations: 8 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.902e-05/0.2407, allocations: 27.98 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2407, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2407, allocations: 35.91 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2409, allocations: 71.8 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.2409, allocations: 8 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2409, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2409, allocations: 0 / 0.7851 GB, free: 11.59 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.0004231/0.2414, allocations: 373.4 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2414, allocations: 12.03 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.2414, allocations: 34.73 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2415, allocations: 4.938 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2416, allocations: 168.3 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2416, allocations: 4.375 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2416, allocations: 8.375 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.2417, allocations: 46.19 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2418, allocations: 3.938 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2418, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2418, allocations: 0 / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.2418, allocations: 8 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.2421, allocations: 276.9 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.2422, allocations: 34.5 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.2422, allocations: 16.73 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2422, allocations: 0 / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.2424, allocations: 59.45 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2424, allocations: 0 / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.2426, allocations: 61.69 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.2426, allocations: 55.34 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.2427, allocations: 113.8 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2428, allocations: 29.7 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.2428, allocations: 84.14 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.2428, allocations: 11.88 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.2429, allocations: 29.7 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.243, allocations: 322.8 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.748e-05/0.2431, allocations: 27.98 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.2432, allocations: 54.88 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2433, allocations: 84.14 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2433, allocations: 0 / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002306/0.2435, allocations: 147.4 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.2436, allocations: 33.69 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2436, allocations: 4 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2436, allocations: 8.078 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.2436, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2436, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2439, allocations: 23.97 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2439, allocations: 15.98 kB / 0.7872 GB, free: 9.199 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.933e-05/0.244, allocations: 113.8 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.244, allocations: 0 / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.244, allocations: 11.91 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.244, allocations: 4 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.244, allocations: 0 / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.244, allocations: 0 / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2442, allocations: 165.5 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2442, allocations: 0 / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.2442, allocations: 7.938 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2442, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2442, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2442, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2442, allocations: 3.938 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.2443, allocations: 89.05 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2444, allocations: 77.11 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2444, allocations: 0 / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.2444, allocations: 0 / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2444, allocations: 4 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2444, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.2445, allocations: 91.27 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2445, allocations: 0 / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000277/0.2448, allocations: 20 kB / 0.7878 GB, free: 8.52 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.0004227/0.2452, allocations: 0.624 MB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2454, allocations: 127.2 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2455, allocations: 0 / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.2455, allocations: 12.19 kB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2457, allocations: 11.98 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2471, allocations: 1.354 MB / 0.7898 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2473, allocations: 0.6846 MB / 0.7905 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.2474, allocations: 0 / 0.7905 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.2474, allocations: 19.42 kB / 0.7905 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 3.116e-06/0.2474, allocations: 0 / 0.7905 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2594, allocations: 1.851 MB / 0.7923 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/0.2598, allocations: 208.8 kB / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.021, allocations: 3.656 kB / 0.7925 GB, free: 3.535 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/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)