Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_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.001569/0.001569, allocations: 108 kB / 15.6 MB, free: 132 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.001923/0.001923, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 69.55 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.332, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002168/0.3342, allocations: 0.5863 MB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3357, allocations: 1.11 MB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3358, allocations: 4 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3359, allocations: 3.938 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.3359, allocations: 7.984 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3365, allocations: 124.3 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3367, allocations: 95.83 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3368, allocations: 11.88 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.3369, allocations: 31.97 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.337, allocations: 31.89 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.337, allocations: 8 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3371, allocations: 19.98 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.3371, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.3372, allocations: 27.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3374, allocations: 79.78 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3374, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3374, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3374, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 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.0005404/0.338, allocations: 378.9 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.338, allocations: 8.031 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.3381, allocations: 30.75 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3381, allocations: 4.938 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3383, allocations: 164.4 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3383, allocations: 4.359 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3383, allocations: 16.31 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3384, allocations: 34.27 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3385, allocations: 3.938 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3385, allocations: 0 / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3385, allocations: 7.984 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.3385, allocations: 4 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.339, allocations: 284.8 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.339, allocations: 34.45 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.3391, allocations: 8.922 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.3391, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3392, allocations: 63.38 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3393, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002012/0.3395, allocations: 61.62 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3395, allocations: 59.39 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.3396, allocations: 101.9 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.3397, allocations: 33.69 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3397, allocations: 88.14 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.3397, allocations: 3.906 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.3398, allocations: 29.7 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.34, allocations: 310.8 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.34, allocations: 35.92 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.3401, allocations: 50.55 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3402, allocations: 88.38 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3403, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002457/0.3405, allocations: 147.2 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.3406, allocations: 41.64 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3406, allocations: 3.984 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3406, allocations: 4.094 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.785e-05/0.3406, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3406, allocations: 3.984 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3409, allocations: 27.91 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3409, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 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 8.592e-05/0.341, allocations: 119.5 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.341, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.341, allocations: 11.89 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.341, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3411, allocations: 3.938 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3411, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3412, allocations: 165.6 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3412, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/0.3412, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3412, allocations: 3.984 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3412, allocations: 320 / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3412, allocations: 8 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3412, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.3413, allocations: 84.97 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.3414, allocations: 77.11 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3414, allocations: 4 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.3414, allocations: 3.984 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.3415, allocations: 0 / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3415, allocations: 4 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.3415, allocations: 83.28 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.573e-06/0.3415, allocations: 4 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002139/0.3417, allocations: 23.94 kB / 1.068 GB, free: 9.281 MB / 0.8262 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.0004022/0.3422, allocations: 0.6129 MB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3424, allocations: 131.2 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3424, allocations: 4.188 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.3424, allocations: 12 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.3426, allocations: 4 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3441, allocations: 1.361 MB / 1.07 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3443, allocations: 0.6807 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.3444, allocations: 4 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.3444, allocations: 11.44 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3444, allocations: 0 / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.3637, allocations: 1.946 MB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.077, allocations: 1.891 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches