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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.006798/0.006798, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001324/0.001324, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.964/2.964, allocations: 469.4 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3238, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001856/0.3257, allocations: 0.5829 MB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3272, allocations: 1.113 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.3273, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.3274, allocations: 3.938 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.3274, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.328, allocations: 126.5 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3282, allocations: 91.83 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3283, allocations: 15.92 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.3284, allocations: 35.91 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3285, allocations: 31.91 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3285, allocations: 8 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.3286, allocations: 23.97 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3287, allocations: 7.984 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.3287, allocations: 23.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3289, allocations: 79.8 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3289, allocations: 3.984 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3289, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.329, allocations: 0 / 1.222 GB, free: 12.54 MB / 0.9825 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.0005131/0.3295, allocations: 377.1 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3295, allocations: 12.03 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.3296, allocations: 30.75 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.3296, allocations: 12.89 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3298, allocations: 172.3 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3298, allocations: 384 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3298, allocations: 8.375 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3299, allocations: 38.25 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.33, allocations: 3.938 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.33, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.33, allocations: 4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.33, allocations: 7.984 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3304, allocations: 280.9 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.3305, allocations: 30.45 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.3305, allocations: 8.922 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.3305, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.3307, allocations: 67.34 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3307, allocations: 0 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000218/0.3309, allocations: 61.62 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.331, allocations: 51.41 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.3311, allocations: 105.8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3311, allocations: 29.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.3312, allocations: 92.12 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.3312, allocations: 7.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.3312, allocations: 33.7 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.3313, allocations: 310.8 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.3314, allocations: 31.98 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.3315, allocations: 46.55 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.3316, allocations: 88.09 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3316, allocations: 7.938 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000237/0.3319, allocations: 147.2 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.3319, allocations: 39.58 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3319, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.332, allocations: 240 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.728e-05/0.332, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.332, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.3322, allocations: 24.06 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.3322, allocations: 11.98 kB / 1.224 GB, free: 10.16 MB / 0.9825 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.425e-05/0.3323, allocations: 122.2 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.3323, allocations: 7.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.3324, allocations: 3.906 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3324, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3324, allocations: 320 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3324, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3325, allocations: 173.6 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3325, allocations: 0 / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-06/0.3325, allocations: 4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3325, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3326, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3326, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3326, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3327, allocations: 85 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.3327, allocations: 77.11 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.3327, allocations: 4 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.3328, allocations: 4 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.3328, allocations: 3.938 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3328, allocations: 7.984 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.3328, allocations: 83.28 kB / 1.224 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3328, allocations: 0 / 1.224 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002126/0.3331, allocations: 16 kB / 1.224 GB, free: 9.469 MB / 0.9825 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.0004108/0.3335, allocations: 0.624 MB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3337, allocations: 123.3 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3337, allocations: 0 / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.3338, allocations: 15.94 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.334, allocations: 11.92 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3354, allocations: 1.373 MB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3356, allocations: 0.6768 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.3356, allocations: 4 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.3357, allocations: 11.44 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3357, allocations: 0 / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3551, allocations: 1.976 MB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.836, allocations: 5.938 kB / 1.229 GB, free: 4.598 MB / 0.9825 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