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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008129/0.00813, 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.002249/0.002249, allocations: 194.3 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2971, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001619/0.2987, allocations: 0.5814 MB / 1.242 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3001, allocations: 1.104 MB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.3002, allocations: 3.938 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.3002, allocations: 7.938 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.3002, allocations: 7.922 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3007, allocations: 123.1 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3008, allocations: 95.81 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.886e-05/0.3009, allocations: 8 kB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.209e-05/0.301, allocations: 35.91 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.3011, allocations: 31.89 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.3011, allocations: 8 kB / 1.243 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.3012, allocations: 23.98 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3012, allocations: 0 / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.3013, allocations: 39.89 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3014, allocations: 75.8 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.3014, allocations: 0 / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3014, allocations: 4 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.3015, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 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.0004451/0.3019, allocations: 377 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3019, allocations: 12.03 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.302, allocations: 30.75 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.302, allocations: 12.88 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3022, allocations: 168.3 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3022, allocations: 8.359 kB / 1.244 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.3022, allocations: 4.375 kB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.3023, allocations: 38.25 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3023, allocations: 7.938 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.3023, allocations: 0 / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3023, allocations: 0 / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.3023, allocations: 4 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3027, allocations: 288.8 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.3028, allocations: 30.5 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.3028, allocations: 8.859 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.3028, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.3029, allocations: 59.45 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3029, allocations: 3.938 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001668/0.3031, allocations: 69.64 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3032, allocations: 51.41 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.3032, allocations: 105.8 kB / 1.245 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3033, allocations: 25.7 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.3033, allocations: 88.14 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.3034, allocations: 3.953 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.3034, allocations: 33.64 kB / 1.245 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3036, allocations: 318.8 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.3036, allocations: 31.98 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.3037, allocations: 50.5 kB / 1.245 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3039, allocations: 88.14 kB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3039, allocations: 0 / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002449/0.3041, allocations: 135.3 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.3042, allocations: 45.78 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3042, allocations: 4 kB / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3042, allocations: 0 / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.389e-05/0.3042, allocations: 0 / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3042, allocations: 7.922 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3044, allocations: 27.92 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3045, allocations: 8 kB / 1.246 GB, free: 5.723 MB / 0.9981 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.302e-05/0.3046, allocations: 122.3 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.3046, allocations: 4 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.3046, allocations: 7.906 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3046, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3046, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3046, allocations: 240 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3048, allocations: 169.6 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3048, allocations: 0 / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.3048, allocations: 4 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.3048, allocations: 3.984 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3048, allocations: 0 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3048, allocations: 4.312 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3048, allocations: 0 / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.3049, allocations: 88.95 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.305, allocations: 81.09 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.305, allocations: 4 kB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.305, allocations: 0 / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.3051, allocations: 4 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3051, allocations: 0 / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.3051, allocations: 91.27 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3051, allocations: 0 / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002087/0.3054, allocations: 16 kB / 1.246 GB, free: 5.031 MB / 0.9981 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.0004153/0.3058, allocations: 0.6163 MB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.306, allocations: 127.4 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.306, allocations: 3.938 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.306, allocations: 12 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3062, allocations: 11.92 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3076, allocations: 1.358 MB / 1.248 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3079, allocations: 0.6885 MB / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.308, allocations: 0 / 1.249 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.308, allocations: 15.42 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.308, allocations: 0 / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3304, allocations: 1.955 MB / 1.251 GB, free: 180 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.967, allocations: 17.22 kB / 1.251 GB, free: 168 kB / 0.9981 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 400 --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