Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7419, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001576/0.7435, allocations: 0.5904 MB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.7446, allocations: 1.113 MB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.7446, allocations: 0 / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.7446, allocations: 0 / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.7447, allocations: 5.344 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.7451, allocations: 118.1 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7452, allocations: 93.81 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.7453, allocations: 7.844 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.7454, allocations: 36.45 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.7455, allocations: 26.39 kB / 0.9517 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.7455, allocations: 11.67 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.116e-05/0.7456, allocations: 14.16 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.7456, allocations: 13.33 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.7457, allocations: 29.86 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.7458, allocations: 78.47 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7458, allocations: 1.344 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7458, allocations: 0 / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7458, allocations: 0 / 0.9518 GB, free: 7.578 MB / 0.7169 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.0003247/0.7461, allocations: 378.6 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7462, allocations: 10.09 kB / 0.9522 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.7462, allocations: 34.75 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.7463, allocations: 8.938 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.323e-05/0.7463, allocations: 179 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.7463, allocations: 2.438 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7464, allocations: 8.797 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.457e-05/0.7464, allocations: 39.42 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.7465, allocations: 3.938 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.7465, allocations: 0 / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.7465, allocations: 1.656 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.7465, allocations: 6.984 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.7468, allocations: 286 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.7468, allocations: 20.89 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.7468, allocations: 11.23 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.7468, allocations: 1.219 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.747, allocations: 58.17 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.747, allocations: 0 / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.7471, allocations: 67.59 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.7472, allocations: 60.48 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.7472, allocations: 106.2 kB / 0.953 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7473, allocations: 26.89 kB / 0.9531 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.7473, allocations: 91.77 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.7473, allocations: 9 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.7474, allocations: 29.3 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.7474, allocations: 312 kB / 0.9535 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.7475, allocations: 31.08 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.7476, allocations: 51.45 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.7476, allocations: 83.64 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7477, allocations: 1.406 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002043/0.7479, allocations: 141.2 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.7479, allocations: 40.92 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.7479, allocations: 4.984 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7479, allocations: 1.156 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.336e-05/0.7479, allocations: 2.25 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7479, allocations: 1.219 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.7482, allocations: 31.67 kB / 0.9539 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.7482, allocations: 5.031 kB / 0.9539 GB, free: 5.465 MB / 0.7169 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 5.528e-05/0.7482, allocations: 122 kB / 0.954 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.7483, allocations: 10.41 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.7483, allocations: 9.453 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.7483, allocations: 0 / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7483, allocations: 0 / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7483, allocations: 1.5 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.511e-05/0.7484, allocations: 161.8 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7484, allocations: 1.562 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/0.7484, allocations: 3.938 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7484, allocations: 2.188 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.7484, allocations: 7.984 kB / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7484, allocations: 0 / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7484, allocations: 0 / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.82e-05/0.7485, allocations: 78.72 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.7485, allocations: 78.33 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.7485, allocations: 1.25 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.7486, allocations: 5.25 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.7486, allocations: 5.203 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.7486, allocations: 5.406 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.282e-05/0.7486, allocations: 80.31 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7486, allocations: 0 / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002048/0.7488, allocations: 18.75 kB / 0.9544 GB, free: 4.84 MB / 0.7169 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.0002507/0.7491, allocations: 0.6225 MB / 0.955 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.7493, allocations: 127 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7493, allocations: 1.344 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.7493, allocations: 10.27 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.7495, allocations: 15.28 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.7506, allocations: 1.359 MB / 0.9565 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.925e-05/0.7507, allocations: 0.6822 MB / 0.9572 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.7507, allocations: 2.25 kB / 0.9572 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.7507, allocations: 9.656 kB / 0.9572 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of SimCode: time 9.31e-07/0.7507, allocations: 3.938 kB / 0.9572 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.7683, allocations: 1.947 MB / 0.9591 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.42, allocations: 14.7 kB / 0.9591 GB, free: 1.02 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches