Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.455/2.455, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7734, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05158/0.825, allocations: 49.78 MB / 0.9982 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.8447, allocations: 12.67 MB / 1.011 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.8478, allocations: 83.5 kB / 1.011 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.8501, allocations: 0.7565 MB / 1.011 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.8556, allocations: 1.823 MB / 1.013 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003769/0.8594, allocations: 1.351 MB / 1.014 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005212/0.8647, allocations: 3.249 MB / 1.018 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.8665, allocations: 1.248 MB / 1.019 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.8697, allocations: 1.293 MB / 1.02 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.871, allocations: 0.9253 MB / 1.021 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.8712, allocations: 99.94 kB / 1.021 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.8736, allocations: 1.068 MB / 1.022 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.874, allocations: 290.8 kB / 1.022 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007321/0.8747, allocations: 0.6683 MB / 1.023 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.8775, allocations: 1.924 MB / 1.025 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8775, allocations: 0 / 1.025 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8775, allocations: 4 kB / 1.025 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.8775, allocations: 3.938 kB / 1.025 GB, free: 4.398 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002477/0.88, allocations: 1.697 MB / 1.027 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.8801, allocations: 12.03 kB / 1.027 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.8807, allocations: 214.9 kB / 1.027 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.8824, allocations: 1.014 MB / 1.028 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.8828, allocations: 126.2 kB / 1.028 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.8829, allocations: 84 kB / 1.028 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.8846, allocations: 1.015 MB / 1.029 GB, free: 56 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.8846, allocations: 3.938 kB / 1.029 GB, free: 52 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/0.8847, allocations: 36 kB / 1.029 GB, free: 16 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.8847, allocations: 20.05 kB / 1.029 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.8862, allocations: 0.6594 MB / 1.03 GB, free: 15.33 MB / 0.795 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.005117/0.8914, allocations: 4.771 MB / 1.034 GB, free: 10.29 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.8927, allocations: 414.5 kB / 1.035 GB, free: 9.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.8933, allocations: 220.7 kB / 1.035 GB, free: 9.656 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008326/0.8941, allocations: 1.148 MB / 1.036 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.8942, allocations: 38.56 kB / 1.036 GB, free: 8.203 MB / 0.795 GB Notification: Performance of pre-optimization done (n=29): time 2.585e-06/0.8942, allocations: 0 / 1.036 GB, free: 8.203 MB / 0.795 GB Notification: Performance of matching and sorting (n=29): time 0.002996/0.8972, allocations: 1.09 MB / 1.037 GB, free: 7.043 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.8972, allocations: 59.34 kB / 1.037 GB, free: 6.973 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.8983, allocations: 0.9715 MB / 1.038 GB, free: 5.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.8984, allocations: 33.7 kB / 1.038 GB, free: 5.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.8988, allocations: 0.5888 MB / 1.039 GB, free: 5.355 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/0.8989, allocations: 106.6 kB / 1.039 GB, free: 5.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.899, allocations: 110 kB / 1.039 GB, free: 5.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.8992, allocations: 330 kB / 1.039 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005859/0.8997, allocations: 209 kB / 1.04 GB, free: 4.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007148/0.9005, allocations: 406.3 kB / 1.04 GB, free: 4.117 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.9017, allocations: 0.6138 MB / 1.041 GB, free: 3.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9017, allocations: 3.938 kB / 1.041 GB, free: 3.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001701/0.9034, allocations: 0.7679 MB / 1.041 GB, free: 2.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.9035, allocations: 8 kB / 1.041 GB, free: 2.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9035, allocations: 7.938 kB / 1.041 GB, free: 2.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007031/0.9042, allocations: 158.9 kB / 1.041 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.9048, allocations: 151.8 kB / 1.042 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.9059, allocations: 1.716 MB / 1.043 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.9065, allocations: 99.28 kB / 1.043 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.9066, allocations: 31.98 kB / 1.043 GB, free: 384 kB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.907, allocations: 275.2 kB / 1.044 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.9072, allocations: 114.7 kB / 1.044 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.9091, allocations: 0.7255 MB / 1.045 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.9091, allocations: 11.94 kB / 1.045 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9091, allocations: 0 / 1.045 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.9091, allocations: 7.984 kB / 1.045 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.9119, allocations: 1.636 MB / 1.046 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.912, allocations: 4 kB / 1.046 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.9125, allocations: 100 kB / 1.046 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.913, allocations: 150.4 kB / 1.046 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.9131, allocations: 8 kB / 1.046 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000972/0.914, allocations: 1.704 MB / 1.048 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9141, allocations: 7.969 kB / 1.048 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.9157, allocations: 0.7881 MB / 1.049 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.916, allocations: 239.6 kB / 1.049 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.9162, allocations: 12 kB / 1.049 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.9168, allocations: 51.94 kB / 1.049 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.9169, allocations: 31.84 kB / 1.049 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.9169, allocations: 23.92 kB / 1.049 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007797/0.9177, allocations: 0.658 MB / 1.05 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9177, allocations: 0 / 1.05 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009725/0.9187, allocations: 383.1 kB / 1.05 GB, free: 9.211 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007689/0.9195, allocations: 396 kB / 1.051 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.9212, allocations: 0.5869 MB / 1.051 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.9212, allocations: 0 / 1.051 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.922, allocations: 300.7 kB / 1.051 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.9244, allocations: 0.5303 MB / 1.052 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.9275, allocations: 1.849 MB / 1.054 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.9284, allocations: 1.103 MB / 1.055 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008392/0.9292, allocations: 188.1 kB / 1.055 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.9294, allocations: 71.42 kB / 1.055 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.9294, allocations: 0 / 1.055 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.03391/0.9633, allocations: 20.66 MB / 1.075 GB, free: 15.77 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches