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.001579/0.001579, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001848/0.001848, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.579/1.579, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.937/2.937, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.81 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002303/0.3738, allocations: 0.661 MB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3753, allocations: 1.116 MB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.3754, allocations: 0 / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3755, allocations: 3.938 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.3755, allocations: 3.984 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.376, allocations: 111 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3762, allocations: 95.81 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.3763, allocations: 8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.4e-05/0.3764, allocations: 27.98 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.004e-05/0.3765, allocations: 27.91 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3765, allocations: 7.938 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.3766, allocations: 19.98 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3766, allocations: 11.97 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.3767, allocations: 27.92 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3769, allocations: 91.78 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3769, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3769, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3769, allocations: 0 / 1.055 GB, free: 6.414 MB / 0.8106 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.0004759/0.3774, allocations: 374.5 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3774, allocations: 8.625 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.3775, allocations: 30.75 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.3775, allocations: 12.84 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3777, allocations: 164.4 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3777, allocations: 4.375 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3777, allocations: 8.375 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3778, allocations: 38.19 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3778, allocations: 3.938 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3779, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3779, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.3779, allocations: 7.984 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3783, allocations: 280.9 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.3784, allocations: 30.52 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.3784, allocations: 8.922 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3784, allocations: 3.938 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3786, allocations: 63.3 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3786, allocations: 0 / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001894/0.3788, allocations: 57.69 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3788, allocations: 55.41 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.3789, allocations: 117.8 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.379, allocations: 29.7 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.379, allocations: 88.12 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3791, allocations: 7.906 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.3791, allocations: 29.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3793, allocations: 310.8 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.3793, allocations: 31.92 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.3794, allocations: 54.55 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3795, allocations: 84.14 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3796, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002421/0.3798, allocations: 151.5 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.3798, allocations: 39.11 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3799, allocations: 4.406 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3799, allocations: 0 / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.3799, allocations: 4 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3799, allocations: 4 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.3801, allocations: 35.8 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3802, allocations: 4 kB / 1.057 GB, free: 4.031 MB / 0.8106 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 9.306e-05/0.3803, allocations: 117.8 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.3803, allocations: 8 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.3803, allocations: 11.83 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3803, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3803, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3803, allocations: 0 / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3805, allocations: 161.6 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3805, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-06/0.3805, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3805, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3805, allocations: 3.984 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3805, allocations: 3.938 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3805, allocations: 8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3806, allocations: 77.06 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.3807, allocations: 81.02 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3807, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.3807, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.3808, allocations: 7.984 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.3808, allocations: 4 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.3808, allocations: 83.28 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3808, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000214/0.381, allocations: 16 kB / 1.057 GB, free: 3.355 MB / 0.8106 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.0003972/0.3814, allocations: 0.6202 MB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3817, allocations: 123.4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3817, allocations: 8 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.3817, allocations: 7.984 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.3819, allocations: 12 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3834, allocations: 1.36 MB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3836, allocations: 0.6807 MB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.3837, allocations: 0 / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.3837, allocations: 11.44 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3837, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.3969, allocations: 1.862 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.3972, allocations: 207.3 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.728, allocations: 3.828 kB / 1.062 GB, free: 14.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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