Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 117.1 kB / 16.81 MB, free: 5.77 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.001567/0.001567, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.52/1.52, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.69 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2345/0.5839, allocations: 183.9 MB / 1.442 GB, free: 4.395 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009695/0.5936, allocations: 4.878 MB / 1.446 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.595, allocations: 35.81 kB / 1.446 GB, free: 15.47 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.5966, allocations: 457.3 kB / 1.447 GB, free: 15.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.6012, allocations: 1.462 MB / 1.448 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.6038, allocations: 0.7981 MB / 1.449 GB, free: 12.76 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003808/0.6076, allocations: 1.848 MB / 1.451 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.6087, allocations: 0.5003 MB / 1.451 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.6114, allocations: 0.8988 MB / 1.452 GB, free: 9.492 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.6129, allocations: 0.5762 MB / 1.453 GB, free: 8.918 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.613, allocations: 59.94 kB / 1.453 GB, free: 8.859 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/0.6165, allocations: 1.485 MB / 1.454 GB, free: 7.371 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.6169, allocations: 279.1 kB / 1.455 GB, free: 7.098 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.6175, allocations: 402.1 kB / 1.455 GB, free: 6.703 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.6203, allocations: 1.421 MB / 1.456 GB, free: 5.273 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.6203, allocations: 4 kB / 1.456 GB, free: 5.27 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6203, allocations: 0 / 1.456 GB, free: 5.27 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.6203, allocations: 0 / 1.456 GB, free: 5.27 MB / 1.17 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.002093/0.6224, allocations: 1.12 MB / 1.457 GB, free: 4.098 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6225, allocations: 11.97 kB / 1.457 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.6239, allocations: 219.2 kB / 1.458 GB, free: 3.871 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.625, allocations: 0.6245 MB / 1.458 GB, free: 3.207 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.625, allocations: 37 kB / 1.458 GB, free: 3.168 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.6251, allocations: 48 kB / 1.458 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.6261, allocations: 498.3 kB / 1.459 GB, free: 2.633 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.6261, allocations: 8 kB / 1.459 GB, free: 2.625 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.6262, allocations: 16 kB / 1.459 GB, free: 2.609 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.6262, allocations: 17 kB / 1.459 GB, free: 2.594 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.6271, allocations: 443.6 kB / 1.459 GB, free: 2.156 MB / 1.17 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.003074/0.6302, allocations: 2.014 MB / 1.461 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.6308, allocations: 324.1 kB / 1.462 GB, free: 15.64 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.6312, allocations: 201.3 kB / 1.462 GB, free: 15.44 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.6315, allocations: 190.5 kB / 1.462 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6316, allocations: 38.84 kB / 1.462 GB, free: 15.17 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/0.6316, allocations: 0 / 1.462 GB, free: 15.17 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001324/0.6329, allocations: 0.5421 MB / 1.462 GB, free: 14.62 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.6329, allocations: 59.34 kB / 1.463 GB, free: 14.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000621/0.6336, allocations: 0.5146 MB / 1.463 GB, free: 14.03 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.6336, allocations: 33.7 kB / 1.463 GB, free: 13.99 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.6339, allocations: 308.6 kB / 1.463 GB, free: 13.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.634, allocations: 123 kB / 1.463 GB, free: 13.56 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.6341, allocations: 73.97 kB / 1.464 GB, free: 13.48 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.6343, allocations: 362.8 kB / 1.464 GB, free: 13.12 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.6346, allocations: 142.1 kB / 1.464 GB, free: 12.98 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.635, allocations: 231.5 kB / 1.464 GB, free: 12.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.6356, allocations: 340.2 kB / 1.465 GB, free: 12.39 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6356, allocations: 0 / 1.465 GB, free: 12.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008023/0.6364, allocations: 429 kB / 1.465 GB, free: 11.96 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6364, allocations: 8 kB / 1.465 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6364, allocations: 0 / 1.465 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6365, allocations: 3.938 kB / 1.465 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.6368, allocations: 71.91 kB / 1.465 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.6368, allocations: 7.938 kB / 1.465 GB, free: 11.87 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.6373, allocations: 43.84 kB / 1.465 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.6373, allocations: 12 kB / 1.465 GB, free: 11.82 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005264/0.6379, allocations: 304 kB / 1.465 GB, free: 11.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003636/0.6382, allocations: 206.8 kB / 1.466 GB, free: 11.29 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006151/0.6389, allocations: 347.2 kB / 1.466 GB, free: 10.94 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.6389, allocations: 0 / 1.466 GB, free: 10.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007662/0.6396, allocations: 421 kB / 1.466 GB, free: 10.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6396, allocations: 8.094 kB / 1.466 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.6396, allocations: 0 / 1.466 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.6396, allocations: 4 kB / 1.466 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.64, allocations: 71.89 kB / 1.466 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.64, allocations: 7.938 kB / 1.466 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.6404, allocations: 31.81 kB / 1.466 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.6404, allocations: 12 kB / 1.466 GB, free: 10.39 MB / 1.186 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.0002028/0.6406, allocations: 204.1 kB / 1.467 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6408, allocations: 63.61 kB / 1.467 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008612/0.6416, allocations: 416.2 kB / 1.467 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006959/0.6423, allocations: 444.4 kB / 1.468 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6423, allocations: 128 / 1.468 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.6426, allocations: 180.6 kB / 1.468 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.6427, allocations: 15.94 kB / 1.468 GB, free: 9.027 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.6431, allocations: 31.92 kB / 1.468 GB, free: 8.996 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.6432, allocations: 19.97 kB / 1.468 GB, free: 8.977 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001043/0.6442, allocations: 488.7 kB / 1.468 GB, free: 8.492 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001204/0.6454, allocations: 0.7604 MB / 1.469 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003057/0.6457, allocations: 164.1 kB / 1.469 GB, free: 7.555 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004768/0.6462, allocations: 362.8 kB / 1.47 GB, free: 7.203 MB / 1.186 GB Notification: Performance of Backend: time 2.71e-07/0.6462, allocations: 0 / 1.47 GB, free: 7.203 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.6484, allocations: 0.7327 MB / 1.47 GB, free: 6.473 MB / 1.186 GB Notification: Performance of SimCode: time 0.003202/0.6516, allocations: 1.835 MB / 1.472 GB, free: 4.582 MB / 1.186 GB Notification: Performance of Templates: time 0.02976/0.6813, allocations: 15.69 MB / 1.487 GB, free: 5.055 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches