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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009782/0.0009828, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005832/0.005832, allocations: 170 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 443.3 MB / 0.7176 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003643, allocations: 8.75 kB / 0.8797 GB, free: 41.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008071/0.3021, allocations: 322.6 kB / 1.032 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3036, allocations: 1.113 MB / 1.033 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.3037, allocations: 0 / 1.033 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.3037, allocations: 0 / 1.033 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.3037, allocations: 11.92 kB / 1.033 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3042, allocations: 109 kB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.3043, allocations: 79.83 kB / 1.033 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.3044, allocations: 4 kB / 1.033 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.3044, allocations: 27.92 kB / 1.033 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.3045, allocations: 27.89 kB / 1.033 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3046, allocations: 4 kB / 1.033 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.3046, allocations: 19.92 kB / 1.033 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3047, allocations: 4 kB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.3047, allocations: 53.61 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3049, allocations: 79.84 kB / 1.033 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3049, allocations: 0 / 1.033 GB, free: 2.492 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3049, allocations: 3.938 kB / 1.033 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.3049, allocations: 0 / 1.033 GB, free: 2.488 MB / 0.7794 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.0003581/0.3053, allocations: 361.4 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3053, allocations: 8.031 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.3053, allocations: 34.73 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3054, allocations: 8.844 kB / 1.033 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3055, allocations: 168.4 kB / 1.034 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3055, allocations: 8.297 kB / 1.034 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3055, allocations: 8.375 kB / 1.034 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.3056, allocations: 38.25 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3056, allocations: 3.938 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3057, allocations: 0 / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3057, allocations: 0 / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.3057, allocations: 8 kB / 1.034 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.306, allocations: 284.9 kB / 1.034 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.3061, allocations: 34.44 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.3061, allocations: 4.859 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3061, allocations: 4.062 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.3062, allocations: 59.38 kB / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3062, allocations: 0 / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001626/0.3064, allocations: 69.53 kB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3065, allocations: 55.41 kB / 1.034 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.3065, allocations: 109.8 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3066, allocations: 33.7 kB / 1.034 GB, free: 0.9961 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.3066, allocations: 80.14 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.3066, allocations: 7.906 kB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.3067, allocations: 21.7 kB / 1.034 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.3068, allocations: 310.8 kB / 1.035 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.3068, allocations: 31.98 kB / 1.035 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.3069, allocations: 46.56 kB / 1.035 GB, free: 492 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.307, allocations: 88.14 kB / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.307, allocations: 0 / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002136/0.3072, allocations: 143.3 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.3073, allocations: 33.7 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3073, allocations: 4.094 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.3073, allocations: 7.938 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.3073, allocations: 0 / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3073, allocations: 7.938 kB / 1.035 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3076, allocations: 36.94 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3076, allocations: 4 kB / 1.035 GB, free: 132 kB / 0.7794 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.186e-05/0.3077, allocations: 125.9 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3077, allocations: 7.906 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.3078, allocations: 3.906 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3078, allocations: 3.938 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3078, allocations: 0 / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3078, allocations: 3.984 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3079, allocations: 165.8 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3079, allocations: 0 / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.3079, allocations: 0 / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3079, allocations: 4 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3079, allocations: 7.984 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3079, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3079, allocations: 3.984 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.498e-05/0.308, allocations: 77.06 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.3081, allocations: 81.11 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3081, allocations: 320 / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.3081, allocations: 0 / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.3081, allocations: 11.98 kB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3081, allocations: 4 kB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.3082, allocations: 83.28 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3082, allocations: 3.938 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002033/0.3084, allocations: 19.91 kB / 1.036 GB, free: 15.43 MB / 0.795 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.0003399/0.3087, allocations: 0.6163 MB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3089, allocations: 123.3 kB / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.309, allocations: 0 / 1.036 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.309, allocations: 15.98 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.3092, allocations: 7.938 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3104, allocations: 1.37 MB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3106, allocations: 0.6848 MB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.3106, allocations: 0 / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.3107, allocations: 15.44 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3107, allocations: 0 / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0113/0.322, allocations: 1.734 MB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3222, allocations: 204.7 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.122, allocations: 3.938 kB / 1.04 GB, free: 10.59 MB / 0.795 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