Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.12 kB / 1.107 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.83, allocations: 168.7 MB / 1.271 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001478/0.8315, allocations: 0.6072 MB / 1.272 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.8325, allocations: 1.121 MB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.8326, allocations: 1.031 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.8326, allocations: 0 / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.8326, allocations: 5.453 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.833, allocations: 128.9 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.8331, allocations: 85.77 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.8332, allocations: 7.562 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.839e-05/0.8333, allocations: 42.25 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.8333, allocations: 31 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.8334, allocations: 7.375 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.8334, allocations: 25.89 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.8334, allocations: 2.906 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.8335, allocations: 26.53 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.8336, allocations: 84.7 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.8336, allocations: 1.062 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8336, allocations: 0 / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.8336, allocations: 0 / 1.273 GB, free: 6.391 MB / 0.9981 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.0003093/0.8339, allocations: 380.6 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.834, allocations: 9.594 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.051e-05/0.834, allocations: 31.75 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.834, allocations: 7.375 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.8341, allocations: 170 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8341, allocations: 2.875 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8341, allocations: 4.281 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.8342, allocations: 46.36 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.8342, allocations: 8.875 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.8342, allocations: 2.391 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.8342, allocations: 1.125 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.8342, allocations: 2.969 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.8344, allocations: 286.5 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.128e-05/0.8345, allocations: 24.89 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.8345, allocations: 14.77 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.8345, allocations: 4 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.361e-05/0.8346, allocations: 55.56 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8346, allocations: 0.75 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001454/0.8347, allocations: 62.38 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.8348, allocations: 56.22 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.869e-05/0.8348, allocations: 106.2 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.8348, allocations: 27.64 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.8349, allocations: 90.69 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.8349, allocations: 9.641 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.8349, allocations: 28.22 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.34e-05/0.8349, allocations: 314.2 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.835, allocations: 33.59 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.8351, allocations: 43.2 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.8352, allocations: 91.66 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8352, allocations: 0.6562 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002029/0.8354, allocations: 147.2 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.8354, allocations: 39.62 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.8354, allocations: 0.9375 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.8354, allocations: 1.062 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/0.8354, allocations: 1.812 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8354, allocations: 1.781 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.8356, allocations: 33.16 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.8356, allocations: 5.125 kB / 1.276 GB, free: 4.383 MB / 0.9981 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 4.897e-05/0.8357, allocations: 121.3 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.8357, allocations: 1.594 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.74e-05/0.8357, allocations: 4.969 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8357, allocations: 0.875 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.8357, allocations: 0 / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8357, allocations: 4.875 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.8358, allocations: 165.3 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8358, allocations: 5.031 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.8358, allocations: 5 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8358, allocations: 1.547 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.8358, allocations: 0.9375 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8358, allocations: 3.938 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8358, allocations: 1.031 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.402e-05/0.8359, allocations: 87.72 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.8359, allocations: 81 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.8359, allocations: 0.8125 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.8359, allocations: 0.9688 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.8359, allocations: 3.844 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.8359, allocations: 2.094 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.8359, allocations: 83.59 kB / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8359, allocations: 0 / 1.276 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001941/0.8361, allocations: 19.27 kB / 1.276 GB, free: 3.777 MB / 0.9981 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.0002132/0.8363, allocations: 0.6262 MB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.8365, allocations: 109.2 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8365, allocations: 0 / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.8365, allocations: 11.89 kB / 1.277 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.8367, allocations: 10.77 kB / 1.277 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009802/0.8377, allocations: 1.365 MB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.8379, allocations: 0.6781 MB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.838, allocations: 4.438 kB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.838, allocations: 9.094 kB / 1.279 GB, free: 17.12 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.838, allocations: 0 / 1.279 GB, free: 17.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.8616, allocations: 1.96 MB / 1.281 GB, free: 16.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.818, allocations: 14.67 kB / 1.281 GB, free: 16.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.257423465998727]