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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.001682/0.001683, allocations: 107.6 kB / 16.41 MB, free: 6.5 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.001519/0.00152, allocations: 197.6 kB / 17.35 MB, free: 5.758 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 59.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9691/0.9707, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2344/1.205, allocations: 183.3 MB / 1.387 GB, free: 5.723 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009006/1.214, allocations: 4.856 MB / 1.392 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/1.216, allocations: 31.81 kB / 1.392 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/1.217, allocations: 433.4 kB / 1.392 GB, free: 408 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/1.221, allocations: 1.408 MB / 1.394 GB, free: 14.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/1.224, allocations: 0.7916 MB / 1.394 GB, free: 14.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002708/1.226, allocations: 1.844 MB / 1.396 GB, free: 12.35 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/1.227, allocations: 0.5939 MB / 1.397 GB, free: 11.74 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/1.229, allocations: 0.8734 MB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.231, allocations: 0.5452 MB / 1.398 GB, free: 10.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/1.231, allocations: 60 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/1.234, allocations: 1.411 MB / 1.4 GB, free: 8.852 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/1.234, allocations: 263.2 kB / 1.4 GB, free: 8.594 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007508/1.235, allocations: 406 kB / 1.4 GB, free: 8.195 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/1.238, allocations: 1.426 MB / 1.402 GB, free: 6.766 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.238, allocations: 0 / 1.402 GB, free: 6.766 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.052e-06/1.238, allocations: 0 / 1.402 GB, free: 6.766 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.579e-05/1.238, allocations: 0 / 1.402 GB, free: 6.766 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.002145/1.24, allocations: 1.098 MB / 1.403 GB, free: 5.617 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.24, allocations: 8.031 kB / 1.403 GB, free: 5.609 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/1.241, allocations: 206.8 kB / 1.403 GB, free: 5.406 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/1.242, allocations: 0.616 MB / 1.404 GB, free: 4.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/1.243, allocations: 37 kB / 1.404 GB, free: 4.711 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/1.243, allocations: 51.98 kB / 1.404 GB, free: 4.66 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/1.244, allocations: 498.3 kB / 1.404 GB, free: 4.164 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.244, allocations: 0 / 1.404 GB, free: 4.164 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/1.244, allocations: 24 kB / 1.404 GB, free: 4.141 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.244, allocations: 20.98 kB / 1.404 GB, free: 4.121 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/1.244, allocations: 439.7 kB / 1.405 GB, free: 3.691 MB / 1.123 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.002831/1.247, allocations: 1.998 MB / 1.407 GB, free: 1.516 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/1.248, allocations: 347.5 kB / 1.407 GB, free: 1.168 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/1.248, allocations: 209.3 kB / 1.407 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/1.249, allocations: 190.5 kB / 1.407 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.249, allocations: 38.84 kB / 1.407 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/1.249, allocations: 0 / 1.407 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.001246/1.25, allocations: 0.5465 MB / 1.408 GB, free: 144 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.25, allocations: 59.34 kB / 1.408 GB, free: 72 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/1.251, allocations: 0.5108 MB / 1.408 GB, free: 15.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/1.251, allocations: 29.7 kB / 1.408 GB, free: 15.52 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/1.251, allocations: 304.2 kB / 1.409 GB, free: 15.21 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.251, allocations: 118.3 kB / 1.409 GB, free: 15.1 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.251, allocations: 66.03 kB / 1.409 GB, free: 15.03 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.251, allocations: 366.8 kB / 1.409 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/1.252, allocations: 142.1 kB / 1.409 GB, free: 14.52 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/1.252, allocations: 219.6 kB / 1.41 GB, free: 14.28 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/1.252, allocations: 344.6 kB / 1.41 GB, free: 13.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.252, allocations: 0 / 1.41 GB, free: 13.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007203/1.253, allocations: 437.6 kB / 1.41 GB, free: 13.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.253, allocations: 8 kB / 1.41 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.253, allocations: 3.984 kB / 1.41 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.253, allocations: 3.984 kB / 1.41 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.254, allocations: 67.91 kB / 1.41 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.254, allocations: 7.938 kB / 1.41 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/1.254, allocations: 39.67 kB / 1.41 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/1.254, allocations: 11.98 kB / 1.41 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004855/1.255, allocations: 308.1 kB / 1.411 GB, free: 13.05 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003068/1.255, allocations: 206.8 kB / 1.411 GB, free: 12.83 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006059/1.255, allocations: 335.1 kB / 1.411 GB, free: 12.49 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.135e-06/1.256, allocations: 0 / 1.411 GB, free: 12.49 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007015/1.256, allocations: 432.7 kB / 1.412 GB, free: 12.06 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/1.256, allocations: 4 kB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/1.256, allocations: 4.094 kB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.453e-06/1.256, allocations: 4 kB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/1.257, allocations: 67.91 kB / 1.412 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/1.257, allocations: 4 kB / 1.412 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/1.257, allocations: 35.88 kB / 1.412 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/1.257, allocations: 16 kB / 1.412 GB, free: 11.93 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.00016/1.257, allocations: 200.1 kB / 1.412 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.257, allocations: 63.25 kB / 1.412 GB, free: 11.66 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/1.258, allocations: 419.3 kB / 1.412 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006504/1.259, allocations: 436.2 kB / 1.413 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.259, allocations: 0 / 1.413 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/1.259, allocations: 180.3 kB / 1.413 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/1.259, allocations: 12 kB / 1.413 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/1.26, allocations: 25.86 kB / 1.413 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/1.26, allocations: 19.97 kB / 1.413 GB, free: 10.53 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001026/1.261, allocations: 497 kB / 1.414 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/1.262, allocations: 0.7555 MB / 1.414 GB, free: 9.266 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003128/1.262, allocations: 167.9 kB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004187/1.263, allocations: 366.8 kB / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of Backend: time 5.62e-07/1.263, allocations: 0 / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002219/1.265, allocations: 0.7371 MB / 1.416 GB, free: 8.012 MB / 1.139 GB Notification: Performance of SimCode: time 0.003278/1.268, allocations: 1.819 MB / 1.417 GB, free: 6.148 MB / 1.139 GB Notification: Performance of Templates: time 0.02749/1.296, allocations: 15.35 MB / 1.432 GB, free: 6.953 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/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