Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001638/0.001638, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.335/1.335, 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 12.0.0-master/package.mo): time 2.602/2.602, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8059, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1951/1.001, allocations: 187.9 MB / 1.41 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01589/1.017, allocations: 10.76 MB / 1.42 GB, free: 6.18 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/1.018, allocations: 39.75 kB / 1.42 GB, free: 6.141 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/1.02, allocations: 0.497 MB / 1.421 GB, free: 5.641 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006961/1.027, allocations: 2.669 MB / 1.423 GB, free: 2.961 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/1.034, allocations: 2.46 MB / 1.426 GB, free: 0.5078 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004254/1.038, allocations: 2.774 MB / 1.429 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.04, allocations: 0.7761 MB / 1.429 GB, free: 12.94 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/1.042, allocations: 1.035 MB / 1.43 GB, free: 11.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/1.044, allocations: 1.06 MB / 1.431 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000359/1.045, allocations: 96 kB / 1.431 GB, free: 10.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006517/1.051, allocations: 3.021 MB / 1.434 GB, free: 7.719 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009853/1.052, allocations: 434.8 kB / 1.435 GB, free: 7.293 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/1.053, allocations: 0.5833 MB / 1.435 GB, free: 6.707 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006721/1.06, allocations: 2.967 MB / 1.438 GB, free: 3.73 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.06, allocations: 0 / 1.438 GB, free: 3.73 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/1.06, allocations: 0 / 1.438 GB, free: 3.73 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.226e-05/1.06, allocations: 0 / 1.438 GB, free: 3.73 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004756/1.065, allocations: 1.714 MB / 1.44 GB, free: 1.961 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.065, allocations: 12.02 kB / 1.44 GB, free: 1.949 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/1.067, allocations: 306.9 kB / 1.44 GB, free: 1.648 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.069, allocations: 0.8358 MB / 1.441 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.069, allocations: 49.3 kB / 1.441 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/1.07, allocations: 71.97 kB / 1.441 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.072, allocations: 0.9961 MB / 1.442 GB, free: 15.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.072, allocations: 0 / 1.442 GB, free: 15.64 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/1.072, allocations: 23.98 kB / 1.442 GB, free: 15.61 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/1.072, allocations: 81.88 kB / 1.442 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.074, allocations: 1.011 MB / 1.443 GB, free: 14.52 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.006813/1.081, allocations: 3.571 MB / 1.447 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.082, allocations: 0.6727 MB / 1.447 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/1.083, allocations: 378.2 kB / 1.448 GB, free: 9.664 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/1.083, allocations: 190.8 kB / 1.448 GB, free: 9.441 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.083, allocations: 43.12 kB / 1.448 GB, free: 9.391 MB / 1.17 GB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/1.083, allocations: 0 / 1.448 GB, free: 9.391 MB / 1.17 GB Notification: Performance of matching and sorting (n=62): time 0.00217/1.085, allocations: 1.03 MB / 1.449 GB, free: 8.355 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/1.085, allocations: 111.4 kB / 1.449 GB, free: 8.219 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.086, allocations: 0.7942 MB / 1.45 GB, free: 7.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/1.086, allocations: 41.7 kB / 1.45 GB, free: 7.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.087, allocations: 436.7 kB / 1.45 GB, free: 6.938 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.087, allocations: 237.9 kB / 1.451 GB, free: 6.703 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/1.087, allocations: 146.6 kB / 1.451 GB, free: 6.555 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.087, allocations: 330 kB / 1.451 GB, free: 6.227 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/1.088, allocations: 340.7 kB / 1.451 GB, free: 5.891 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/1.089, allocations: 464.7 kB / 1.452 GB, free: 5.402 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.09, allocations: 0.7743 MB / 1.453 GB, free: 4.598 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.09, allocations: 0 / 1.453 GB, free: 4.598 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001715/1.092, allocations: 0.9379 MB / 1.453 GB, free: 3.652 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.092, allocations: 8 kB / 1.453 GB, free: 3.645 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.092, allocations: 0 / 1.453 GB, free: 3.645 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.092, allocations: 8 kB / 1.453 GB, free: 3.637 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/1.093, allocations: 143.8 kB / 1.454 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.093, allocations: 11.98 kB / 1.454 GB, free: 3.484 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/1.094, allocations: 91.38 kB / 1.454 GB, free: 3.395 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/1.094, allocations: 28 kB / 1.454 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008335/1.094, allocations: 0.5383 MB / 1.454 GB, free: 2.824 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007433/1.095, allocations: 450.6 kB / 1.455 GB, free: 2.344 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/1.096, allocations: 0.733 MB / 1.455 GB, free: 1.574 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/1.097, allocations: 0 / 1.455 GB, free: 1.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001546/1.098, allocations: 0.9064 MB / 1.456 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.098, allocations: 4 kB / 1.456 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.098, allocations: 4 kB / 1.456 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/1.098, allocations: 4 kB / 1.456 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/1.099, allocations: 152.1 kB / 1.456 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.099, allocations: 11.94 kB / 1.456 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/1.1, allocations: 59.66 kB / 1.457 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/1.1, allocations: 31.98 kB / 1.457 GB, free: 408 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002444/1.1, allocations: 216.1 kB / 1.457 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/1.1, allocations: 103.3 kB / 1.457 GB, free: 80 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/1.102, allocations: 0.8009 MB / 1.458 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/1.103, allocations: 0.7478 MB / 1.458 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.103, allocations: 0 / 1.458 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/1.104, allocations: 252.3 kB / 1.459 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/1.104, allocations: 15.98 kB / 1.459 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/1.104, allocations: 19.98 kB / 1.459 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.104, allocations: 32.52 kB / 1.459 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00159/1.106, allocations: 0.8382 MB / 1.459 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002181/1.108, allocations: 1.357 MB / 1.461 GB, free: 11.94 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005168/1.109, allocations: 344.3 kB / 1.461 GB, free: 11.6 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001029/1.11, allocations: 0.5576 MB / 1.462 GB, free: 11.05 MB / 1.186 GB Notification: Performance of Backend: time 3.71e-07/1.11, allocations: 0 / 1.462 GB, free: 11.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004627/1.114, allocations: 1.696 MB / 1.463 GB, free: 9.355 MB / 1.186 GB Notification: Performance of SimCode: time 0.004328/1.119, allocations: 2.434 MB / 1.466 GB, free: 6.875 MB / 1.186 GB Notification: Performance of Templates: time 0.04815/1.167, allocations: 29.52 MB / 1.495 GB, free: 9.566 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches