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.001236/0.001236, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.34/1.34, allocations: 205.1 MB / 222 MB, free: 4.785 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.678/1.678, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001364/0.001364, allocations: 62.36 kB / 0.6709 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2075, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001611/0.2091, allocations: 0.6689 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2103, allocations: 1.115 MB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.2104, allocations: 0 / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.2104, allocations: 0 / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.2105, allocations: 11.91 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2109, allocations: 103 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.211, allocations: 83.83 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.2111, allocations: 4 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.2111, allocations: 35.91 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.2112, allocations: 19.97 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2112, allocations: 4 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.2113, allocations: 27.92 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2113, allocations: 7.922 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.2114, allocations: 27.92 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2115, allocations: 71.84 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2115, allocations: 4 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2115, allocations: 4 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.2115, allocations: 0 / 0.7849 GB, free: 11.7 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.0004063/0.212, allocations: 373.4 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.212, allocations: 12.03 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.212, allocations: 30.75 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.2121, allocations: 4.938 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2122, allocations: 172.3 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2122, allocations: 8.312 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2122, allocations: 4.375 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.2123, allocations: 38.25 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2123, allocations: 7.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2123, allocations: 4 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2123, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.2124, allocations: 7.984 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2127, allocations: 280.9 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.2127, allocations: 30.45 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.2128, allocations: 4.859 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.2128, allocations: 0 / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.2129, allocations: 63.45 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.2129, allocations: 0 / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.2131, allocations: 69.8 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2131, allocations: 51.41 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.2132, allocations: 117.8 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2132, allocations: 25.7 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.2133, allocations: 88.12 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.2133, allocations: 3.938 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2134, allocations: 29.7 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.2134, allocations: 318.8 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.2135, allocations: 23.98 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.2136, allocations: 58.86 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.2137, allocations: 80.16 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2137, allocations: 4 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002186/0.2139, allocations: 147.2 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.214, allocations: 33.7 kB / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.214, allocations: 0 / 0.7869 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.214, allocations: 8.094 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.395e-05/0.214, allocations: 4 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.214, allocations: 3.938 kB / 0.7869 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2142, allocations: 31.89 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.2142, allocations: 8 kB / 0.787 GB, free: 9.32 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 6.946e-05/0.2143, allocations: 117.8 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.2143, allocations: 0 / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.2144, allocations: 15.89 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2144, allocations: 3.938 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2144, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2144, allocations: 0 / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/0.2145, allocations: 161.5 kB / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2145, allocations: 0 / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.683e-06/0.2145, allocations: 4 kB / 0.7873 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2145, allocations: 0 / 0.7873 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2145, allocations: 3.984 kB / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2145, allocations: 0 / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2145, allocations: 0 / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.2146, allocations: 85.06 kB / 0.7874 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.2147, allocations: 77.11 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2147, allocations: 0 / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.2147, allocations: 0 / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.2147, allocations: 11.98 kB / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.2147, allocations: 0 / 0.7874 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.2148, allocations: 79.28 kB / 0.7875 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2148, allocations: 3.938 kB / 0.7875 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002018/0.215, allocations: 24 kB / 0.7875 GB, free: 8.641 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.0003315/0.2153, allocations: 0.6164 MB / 0.7881 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.2155, allocations: 119.3 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2155, allocations: 0 / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.2156, allocations: 20.17 kB / 0.7883 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2158, allocations: 8 kB / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.217, allocations: 1.379 MB / 0.7896 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.2172, allocations: 0.6848 MB / 0.7903 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.2172, allocations: 4 kB / 0.7903 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.2173, allocations: 7.438 kB / 0.7903 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2173, allocations: 0 / 0.7903 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.2274, allocations: 1.785 MB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.2276, allocations: 220.1 kB / 0.7923 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.84, allocations: 0 / 0.7923 GB, free: 3.691 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)