Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_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.001496/0.001496, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001356/0.001357, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.452/1.452, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.018, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2171/1.235, allocations: 183.3 MB / 1.268 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007856/1.243, allocations: 4.854 MB / 1.272 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/1.244, allocations: 31.81 kB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/1.246, allocations: 453.3 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003546/1.249, allocations: 1.466 MB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/1.251, allocations: 0.789 MB / 1.275 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002318/1.254, allocations: 1.851 MB / 1.277 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/1.255, allocations: 0.5979 MB / 1.277 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/1.256, allocations: 0.9045 MB / 1.278 GB, free: 11.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/1.258, allocations: 0.5394 MB / 1.279 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.258, allocations: 56 kB / 1.279 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/1.26, allocations: 1.43 MB / 1.28 GB, free: 9.438 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/1.261, allocations: 267.2 kB / 1.28 GB, free: 9.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004078/1.261, allocations: 398.1 kB / 1.281 GB, free: 8.785 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/1.263, allocations: 1.422 MB / 1.282 GB, free: 7.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.263, allocations: 0 / 1.282 GB, free: 7.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.566e-06/1.263, allocations: 0 / 1.282 GB, free: 7.359 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.914e-05/1.263, allocations: 0 / 1.282 GB, free: 7.359 MB / 1.014 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.001749/1.265, allocations: 1.094 MB / 1.283 GB, free: 6.215 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.265, allocations: 8.031 kB / 1.283 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/1.266, allocations: 218.8 kB / 1.284 GB, free: 5.992 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/1.267, allocations: 0.6122 MB / 1.284 GB, free: 5.336 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/1.267, allocations: 37 kB / 1.284 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/1.267, allocations: 48 kB / 1.284 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008609/1.268, allocations: 0.4906 MB / 1.285 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/1.268, allocations: 0 / 1.285 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/1.268, allocations: 16 kB / 1.285 GB, free: 4.742 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/1.268, allocations: 20.98 kB / 1.285 GB, free: 4.723 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/1.269, allocations: 439.7 kB / 1.285 GB, free: 4.289 MB / 1.014 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.002574/1.272, allocations: 2.005 MB / 1.287 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/1.272, allocations: 348.6 kB / 1.287 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/1.273, allocations: 209.3 kB / 1.288 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/1.273, allocations: 194.5 kB / 1.288 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.273, allocations: 42.84 kB / 1.288 GB, free: 1.277 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.846e-06/1.273, allocations: 0 / 1.288 GB, free: 1.277 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001211/1.274, allocations: 0.541 MB / 1.288 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/1.274, allocations: 55.41 kB / 1.288 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/1.275, allocations: 0.5107 MB / 1.289 GB, free: 148 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.275, allocations: 37.64 kB / 1.289 GB, free: 104 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/1.275, allocations: 308.3 kB / 1.289 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/1.275, allocations: 118.2 kB / 1.289 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/1.275, allocations: 70.02 kB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.275, allocations: 362.8 kB / 1.29 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/1.276, allocations: 138.1 kB / 1.29 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/1.276, allocations: 219.6 kB / 1.29 GB, free: 14.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/1.277, allocations: 335.2 kB / 1.29 GB, free: 14.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.277, allocations: 4 kB / 1.29 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000718/1.277, allocations: 433.6 kB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.277, allocations: 4 kB / 1.291 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.277, allocations: 7.938 kB / 1.291 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.277, allocations: 0 / 1.291 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.278, allocations: 71.91 kB / 1.291 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.278, allocations: 11.88 kB / 1.291 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/1.278, allocations: 43.75 kB / 1.291 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.278, allocations: 12 kB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004335/1.279, allocations: 304 kB / 1.291 GB, free: 13.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003095/1.279, allocations: 206.8 kB / 1.292 GB, free: 13.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005271/1.28, allocations: 323.2 kB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.28, allocations: 4 kB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006983/1.28, allocations: 432.6 kB / 1.292 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.28, allocations: 8 kB / 1.292 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/1.28, allocations: 0 / 1.292 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/1.28, allocations: 4 kB / 1.292 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.281, allocations: 67.91 kB / 1.292 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.281, allocations: 4 kB / 1.292 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/1.281, allocations: 35.75 kB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.281, allocations: 12.09 kB / 1.292 GB, free: 12.53 MB / 1.029 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.0001484/1.281, allocations: 212.6 kB / 1.293 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/1.281, allocations: 55.34 kB / 1.293 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007897/1.282, allocations: 424 kB / 1.293 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005961/1.283, allocations: 428.5 kB / 1.293 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.283, allocations: 0 / 1.293 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/1.283, allocations: 188.3 kB / 1.294 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/1.283, allocations: 4 kB / 1.294 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/1.284, allocations: 31.84 kB / 1.294 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/1.284, allocations: 23.97 kB / 1.294 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000988/1.285, allocations: 484.7 kB / 1.294 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001048/1.286, allocations: 0.756 MB / 1.295 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002786/1.286, allocations: 175.9 kB / 1.295 GB, free: 9.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003972/1.286, allocations: 362.8 kB / 1.295 GB, free: 9.348 MB / 1.029 GB Notification: Performance of Backend: time 4.31e-07/1.286, allocations: 4 kB / 1.295 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00202/1.289, allocations: 0.7384 MB / 1.296 GB, free: 8.609 MB / 1.029 GB Notification: Performance of SimCode: time 0.002858/1.291, allocations: 1.824 MB / 1.298 GB, free: 6.738 MB / 1.029 GB Notification: Performance of Templates: time 0.02729/1.319, allocations: 15.45 MB / 1.313 GB, free: 7.457 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches