Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",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.007709/0.007709, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002108/0.002108, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 482.4 MB / 0.7548 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2859, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7054/0.9913, allocations: 183.3 MB / 1.42 GB, free: 11.68 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007758/0.9991, allocations: 4.872 MB / 1.425 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005028/0.9997, allocations: 30.03 kB / 1.425 GB, free: 7.711 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/1.001, allocations: 448.6 kB / 1.426 GB, free: 7.344 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/1.004, allocations: 1.395 MB / 1.427 GB, free: 6.27 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/1.006, allocations: 0.78 MB / 1.428 GB, free: 5.688 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002036/1.008, allocations: 1.848 MB / 1.43 GB, free: 4.621 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/1.008, allocations: 0.5866 MB / 1.43 GB, free: 4.258 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/1.01, allocations: 1.078 MB / 1.431 GB, free: 3.594 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/1.011, allocations: 0.5344 MB / 1.432 GB, free: 3.277 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/1.012, allocations: 61.48 kB / 1.432 GB, free: 3.273 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/1.014, allocations: 1.4 MB / 1.433 GB, free: 2.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/1.014, allocations: 269.8 kB / 1.433 GB, free: 2.316 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003958/1.014, allocations: 398.3 kB / 1.434 GB, free: 2.07 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/1.016, allocations: 1.432 MB / 1.435 GB, free: 1.164 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/1.016, allocations: 0 / 1.435 GB, free: 1.164 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.092e-06/1.016, allocations: 0 / 1.435 GB, free: 1.164 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.016, allocations: 0 / 1.435 GB, free: 1.164 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001723/1.018, allocations: 1.128 MB / 1.436 GB, free: 172 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.018, allocations: 8.031 kB / 1.436 GB, free: 164 kB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/1.018, allocations: 94.52 kB / 1.436 GB, free: 60 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/1.02, allocations: 215.2 kB / 1.437 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.021, allocations: 0.6205 MB / 1.437 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/1.021, allocations: 37 kB / 1.437 GB, free: 15.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/1.021, allocations: 48 kB / 1.437 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009213/1.022, allocations: 498.3 kB / 1.438 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.022, allocations: 0 / 1.438 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/1.022, allocations: 23.98 kB / 1.438 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.022, allocations: 20.94 kB / 1.438 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/1.023, allocations: 443.6 kB / 1.438 GB, free: 14.13 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/1.026, allocations: 2.081 MB / 1.44 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/1.026, allocations: 344.5 kB / 1.441 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/1.027, allocations: 205.3 kB / 1.441 GB, free: 11.31 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/1.027, allocations: 190.5 kB / 1.441 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.027, allocations: 42.84 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/1.027, allocations: 3.938 kB / 1.441 GB, free: 11.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001304/1.028, allocations: 0.5383 MB / 1.442 GB, free: 10.49 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/1.028, allocations: 63.28 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/1.029, allocations: 0.5108 MB / 1.442 GB, free: 9.891 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/1.029, allocations: 33.7 kB / 1.442 GB, free: 9.852 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/1.029, allocations: 308.6 kB / 1.442 GB, free: 9.547 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.029, allocations: 123 kB / 1.443 GB, free: 9.426 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.03, allocations: 65.98 kB / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.03, allocations: 370.8 kB / 1.443 GB, free: 8.984 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/1.03, allocations: 142.1 kB / 1.443 GB, free: 8.844 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/1.03, allocations: 219.6 kB / 1.443 GB, free: 8.605 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/1.031, allocations: 340.3 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.031, allocations: 0.6875 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008019/1.032, allocations: 428.8 kB / 1.444 GB, free: 7.836 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.032, allocations: 8 kB / 1.444 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.032, allocations: 0 / 1.444 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.032, allocations: 8.078 kB / 1.444 GB, free: 7.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/1.032, allocations: 71.91 kB / 1.444 GB, free: 7.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.032, allocations: 7.938 kB / 1.444 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/1.033, allocations: 41.58 kB / 1.444 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/1.033, allocations: 19.98 kB / 1.444 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004746/1.033, allocations: 304 kB / 1.444 GB, free: 7.383 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003497/1.034, allocations: 206.8 kB / 1.445 GB, free: 7.156 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006135/1.034, allocations: 335.3 kB / 1.445 GB, free: 6.816 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/1.034, allocations: 4 kB / 1.445 GB, free: 6.812 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007839/1.035, allocations: 425 kB / 1.445 GB, free: 6.391 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.035, allocations: 10.59 kB / 1.445 GB, free: 6.383 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/1.035, allocations: 0 / 1.445 GB, free: 6.383 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/1.035, allocations: 4 kB / 1.445 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/1.035, allocations: 67.91 kB / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/1.035, allocations: 0 / 1.445 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/1.036, allocations: 43.89 kB / 1.446 GB, free: 6.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.036, allocations: 16 kB / 1.446 GB, free: 6.254 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001412/1.036, allocations: 196.2 kB / 1.446 GB, free: 6.055 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.036, allocations: 59.62 kB / 1.446 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/1.037, allocations: 417.8 kB / 1.446 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.037, allocations: 7.938 kB / 1.446 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.037, allocations: 7.938 kB / 1.446 GB, free: 5.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006846/1.038, allocations: 440.4 kB / 1.447 GB, free: 5.109 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/1.04, allocations: 1.18 MB / 1.448 GB, free: 3.855 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.04, allocations: 0 / 1.448 GB, free: 3.855 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/1.04, allocations: 79.89 kB / 1.448 GB, free: 3.777 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.04, allocations: 4 kB / 1.448 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/1.04, allocations: 12 kB / 1.448 GB, free: 3.762 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.04, allocations: 4 kB / 1.448 GB, free: 3.758 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.04, allocations: 2.188 kB / 1.448 GB, free: 3.758 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.041, allocations: 0.7119 MB / 1.449 GB, free: 3.012 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/1.042, allocations: 180.7 kB / 1.449 GB, free: 2.816 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/1.042, allocations: 8 kB / 1.449 GB, free: 2.809 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.042, allocations: 27.97 kB / 1.449 GB, free: 2.781 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.042, allocations: 15.97 kB / 1.449 GB, free: 2.766 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/1.042, allocations: 20 kB / 1.449 GB, free: 2.746 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004413/1.043, allocations: 370.8 kB / 1.449 GB, free: 2.387 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.043, allocations: 0 / 1.449 GB, free: 2.387 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007982/1.043, allocations: 327.3 kB / 1.449 GB, free: 2.066 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00176/1.045, allocations: 1.343 MB / 1.451 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001053/1.046, allocations: 0.5193 MB / 1.451 GB, free: 172 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.046, allocations: 0 / 1.451 GB, free: 172 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/1.047, allocations: 183.8 kB / 1.451 GB, free: 15.98 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.048, allocations: 352.8 kB / 1.452 GB, free: 15.65 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006439/1.055, allocations: 4.67 MB / 1.456 GB, free: 10.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/1.055, allocations: 0.9256 MB / 1.457 GB, free: 9.887 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005334/1.056, allocations: 180.8 kB / 1.457 GB, free: 9.711 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/1.056, allocations: 219.4 kB / 1.458 GB, free: 9.496 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/1.056, allocations: 3.938 kB / 1.458 GB, free: 9.492 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.1, allocations: 16.84 MB / 1.474 GB, free: 8.887 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/9.75, allocations: 5.75 kB / 1.474 GB, free: 8.887 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches