Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_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.007228/0.007228, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.001721/0.001721, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2888, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8325/1.121, allocations: 183.3 MB / 1.345 GB, free: 8.062 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007799/1.129, allocations: 4.87 MB / 1.35 GB, free: 4.637 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/1.13, allocations: 30.66 kB / 1.35 GB, free: 4.625 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/1.132, allocations: 457.5 kB / 1.35 GB, free: 4.359 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004206/1.136, allocations: 1.461 MB / 1.352 GB, free: 3.566 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/1.138, allocations: 0.7784 MB / 1.353 GB, free: 3.168 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003026/1.141, allocations: 1.859 MB / 1.354 GB, free: 2.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/1.143, allocations: 0.5879 MB / 1.355 GB, free: 2.051 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/1.145, allocations: 0.9047 MB / 1.356 GB, free: 1.633 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/1.147, allocations: 0.5425 MB / 1.356 GB, free: 1.398 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/1.147, allocations: 58.28 kB / 1.356 GB, free: 1.398 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/1.151, allocations: 1.42 MB / 1.358 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/1.151, allocations: 262.6 kB / 1.358 GB, free: 0.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009347/1.152, allocations: 402 kB / 1.358 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003937/1.156, allocations: 1.417 MB / 1.36 GB, free: 16 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.156, allocations: 1.094 kB / 1.36 GB, free: 16 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/1.156, allocations: 0 / 1.36 GB, free: 16 kB / 1.029 GB Notification: Performance of Transformations before backend: time 4.51e-05/1.156, allocations: 0 / 1.36 GB, free: 16 kB / 1.029 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.002584/1.159, allocations: 1.105 MB / 1.361 GB, free: 15.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.159, allocations: 9.656 kB / 1.361 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/1.159, allocations: 86.88 kB / 1.361 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/1.161, allocations: 207.6 kB / 1.361 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.162, allocations: 0.618 MB / 1.362 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/1.162, allocations: 36.84 kB / 1.362 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.163, allocations: 56.14 kB / 1.362 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.164, allocations: 493.1 kB / 1.362 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/1.164, allocations: 4 kB / 1.362 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/1.164, allocations: 25.06 kB / 1.362 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/1.164, allocations: 18.08 kB / 1.362 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/1.165, allocations: 439.7 kB / 1.363 GB, free: 14.31 MB / 1.045 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.003387/1.168, allocations: 2.002 MB / 1.365 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/1.169, allocations: 341.9 kB / 1.365 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/1.169, allocations: 212.5 kB / 1.365 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/1.17, allocations: 192.5 kB / 1.365 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.17, allocations: 33.47 kB / 1.365 GB, free: 12.12 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/1.17, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.001442/1.171, allocations: 0.5493 MB / 1.366 GB, free: 11.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.171, allocations: 66.08 kB / 1.366 GB, free: 11.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/1.172, allocations: 0.503 MB / 1.367 GB, free: 11.47 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/1.172, allocations: 32.11 kB / 1.367 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/1.172, allocations: 302.3 kB / 1.367 GB, free: 11.17 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.172, allocations: 121.4 kB / 1.367 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/1.173, allocations: 70.97 kB / 1.367 GB, free: 11.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.173, allocations: 360.1 kB / 1.367 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.173, allocations: 145.8 kB / 1.368 GB, free: 10.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/1.173, allocations: 216.8 kB / 1.368 GB, free: 10.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.174, allocations: 337.5 kB / 1.368 GB, free: 10.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.174, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008065/1.175, allocations: 443.6 kB / 1.368 GB, free: 10.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.175, allocations: 4.75 kB / 1.369 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.175, allocations: 0 / 1.369 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.175, allocations: 2.531 kB / 1.369 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/1.175, allocations: 69.31 kB / 1.369 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.175, allocations: 7.922 kB / 1.369 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/1.176, allocations: 42.55 kB / 1.369 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.176, allocations: 14.72 kB / 1.369 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004757/1.176, allocations: 311.3 kB / 1.369 GB, free: 9.766 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000323/1.177, allocations: 206.1 kB / 1.369 GB, free: 9.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005218/1.177, allocations: 338.6 kB / 1.369 GB, free: 9.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/1.177, allocations: 0 / 1.369 GB, free: 9.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007336/1.178, allocations: 420.1 kB / 1.37 GB, free: 9.219 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.178, allocations: 5.594 kB / 1.37 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.178, allocations: 5.375 kB / 1.37 GB, free: 9.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/1.178, allocations: 5.359 kB / 1.37 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/1.178, allocations: 74.61 kB / 1.37 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.178, allocations: 2.562 kB / 1.37 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/1.179, allocations: 31.98 kB / 1.37 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.179, allocations: 13.22 kB / 1.37 GB, free: 9.168 MB / 1.045 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.0001516/1.179, allocations: 198 kB / 1.37 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.179, allocations: 68.7 kB / 1.37 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008004/1.18, allocations: 419.7 kB / 1.371 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/1.18, allocations: 4.562 kB / 1.371 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.18, allocations: 3.938 kB / 1.371 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005925/1.181, allocations: 434.6 kB / 1.371 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.182, allocations: 1.174 MB / 1.372 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.182, allocations: 0 / 1.372 GB, free: 7.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/1.183, allocations: 89.33 kB / 1.372 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.183, allocations: 5.25 kB / 1.372 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/1.183, allocations: 10.7 kB / 1.372 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.183, allocations: 6.188 kB / 1.372 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.183, allocations: 3.688 kB / 1.372 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009997/1.184, allocations: 0.7034 MB / 1.373 GB, free: 7.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/1.184, allocations: 185.1 kB / 1.373 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/1.184, allocations: 9.25 kB / 1.373 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/1.185, allocations: 26.16 kB / 1.373 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/1.185, allocations: 24.12 kB / 1.373 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/1.185, allocations: 10.19 kB / 1.373 GB, free: 6.828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004072/1.185, allocations: 369.6 kB / 1.374 GB, free: 6.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.185, allocations: 0 / 1.374 GB, free: 6.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009115/1.186, allocations: 321.5 kB / 1.374 GB, free: 6.551 MB / 1.045 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.001571/1.188, allocations: 1.351 MB / 1.375 GB, free: 5.504 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009546/1.189, allocations: 0.5155 MB / 1.376 GB, free: 5.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.189, allocations: 3.438 kB / 1.376 GB, free: 5.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/1.189, allocations: 180.4 kB / 1.376 GB, free: 5.188 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.191, allocations: 351 kB / 1.376 GB, free: 5.008 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/1.197, allocations: 4.64 MB / 1.381 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.197, allocations: 0.9357 MB / 1.382 GB, free: 1.113 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006061/1.198, allocations: 179 kB / 1.382 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/1.198, allocations: 220.1 kB / 1.382 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/1.198, allocations: 0 / 1.382 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/1.239, allocations: 16.83 MB / 1.399 GB, free: 6.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/9.795, allocations: 14.28 kB / 1.399 GB, free: 6.504 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches