Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.007193/0.007192, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001742/0.001742, allocations: 196.3 kB / 16.67 MB, free: 6.355 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7453 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.84 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3609, allocations: 159.9 MB / 1.226 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.8064/1.167, allocations: 49.79 MB / 1.274 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02181/1.189, allocations: 12.66 MB / 1.287 GB, free: 9.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/1.193, allocations: 83.53 kB / 1.287 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002953/1.196, allocations: 0.7547 MB / 1.287 GB, free: 8.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007419/1.204, allocations: 1.83 MB / 1.289 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/1.209, allocations: 1.358 MB / 1.291 GB, free: 7.137 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00638/1.215, allocations: 3.26 MB / 1.294 GB, free: 5.637 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/1.217, allocations: 1.256 MB / 1.295 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/1.221, allocations: 1.298 MB / 1.296 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/1.222, allocations: 0.9271 MB / 1.297 GB, free: 4.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/1.223, allocations: 96.53 kB / 1.297 GB, free: 4.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/1.226, allocations: 1.073 MB / 1.298 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/1.226, allocations: 293.1 kB / 1.299 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009558/1.227, allocations: 0.6793 MB / 1.299 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/1.231, allocations: 1.957 MB / 1.301 GB, free: 2.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.231, allocations: 0 / 1.301 GB, free: 2.324 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/1.231, allocations: 0 / 1.301 GB, free: 2.324 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.935e-05/1.231, allocations: 0 / 1.301 GB, free: 2.324 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002956/1.234, allocations: 1.75 MB / 1.303 GB, free: 1.129 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.234, allocations: 9.656 kB / 1.303 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000678/1.235, allocations: 216.5 kB / 1.303 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.237, allocations: 1.108 MB / 1.304 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/1.237, allocations: 65.5 kB / 1.304 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.237, allocations: 83.84 kB / 1.304 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.239, allocations: 1.01 MB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.239, allocations: 2.031 kB / 1.305 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/1.239, allocations: 42 kB / 1.305 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/1.239, allocations: 22.75 kB / 1.305 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/1.241, allocations: 0.6439 MB / 1.306 GB, free: 15.56 MB / 1.029 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.005683/1.247, allocations: 4.736 MB / 1.311 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/1.248, allocations: 397.5 kB / 1.311 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/1.248, allocations: 225.8 kB / 1.311 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000932/1.249, allocations: 1.147 MB / 1.312 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.249, allocations: 37.23 kB / 1.312 GB, free: 10.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 3.056e-06/1.249, allocations: 0 / 1.312 GB, free: 10.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.003004/1.252, allocations: 1.073 MB / 1.313 GB, free: 9.715 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/1.253, allocations: 58.58 kB / 1.313 GB, free: 9.648 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.254, allocations: 0.9803 MB / 1.314 GB, free: 9.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.254, allocations: 33.17 kB / 1.314 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/1.255, allocations: 0.5967 MB / 1.315 GB, free: 8.742 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.255, allocations: 111.1 kB / 1.315 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.255, allocations: 111.4 kB / 1.315 GB, free: 8.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.255, allocations: 325.7 kB / 1.316 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/1.256, allocations: 198.7 kB / 1.316 GB, free: 8.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/1.256, allocations: 407.8 kB / 1.316 GB, free: 7.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.258, allocations: 0.5996 MB / 1.317 GB, free: 7.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.258, allocations: 2.75 kB / 1.317 GB, free: 7.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001965/1.26, allocations: 0.763 MB / 1.317 GB, free: 7.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.26, allocations: 7.719 kB / 1.317 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/1.26, allocations: 7.672 kB / 1.317 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/1.261, allocations: 155.5 kB / 1.318 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.261, allocations: 149.4 kB / 1.318 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/1.262, allocations: 1.722 MB / 1.319 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008991/1.263, allocations: 91.59 kB / 1.32 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/1.263, allocations: 29.38 kB / 1.32 GB, free: 5.461 MB / 1.029 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.0005422/1.264, allocations: 271.5 kB / 1.32 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.264, allocations: 112.1 kB / 1.32 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/1.266, allocations: 0.7249 MB / 1.321 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.266, allocations: 8.438 kB / 1.321 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.266, allocations: 4.641 kB / 1.321 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/1.266, allocations: 3.188 kB / 1.321 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/1.27, allocations: 1.633 MB / 1.322 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.27, allocations: 2.422 kB / 1.322 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/1.27, allocations: 95.23 kB / 1.322 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/1.271, allocations: 147.8 kB / 1.322 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/1.271, allocations: 15.39 kB / 1.322 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.272, allocations: 1.71 MB / 1.324 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.272, allocations: 1.281 kB / 1.324 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.274, allocations: 0.7863 MB / 1.325 GB, free: 1.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.275, allocations: 254.5 kB / 1.325 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.275, allocations: 12.61 kB / 1.325 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/1.275, allocations: 46.95 kB / 1.325 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/1.275, allocations: 34.89 kB / 1.325 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/1.275, allocations: 22.38 kB / 1.325 GB, free: 1.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001015/1.276, allocations: 0.658 MB / 1.326 GB, free: 1.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.41e-07/1.276, allocations: 0 / 1.326 GB, free: 1.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001425/1.278, allocations: 376.7 kB / 1.326 GB, free: 1.363 MB / 1.029 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.001071/1.279, allocations: 412.6 kB / 1.327 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001828/1.281, allocations: 0.5525 MB / 1.327 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.281, allocations: 1.062 kB / 1.327 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.282, allocations: 298 kB / 1.327 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/1.285, allocations: 0.5205 MB / 1.328 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/1.291, allocations: 1.857 MB / 1.33 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/1.292, allocations: 1.101 MB / 1.331 GB, free: 15.02 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001479/1.294, allocations: 180.1 kB / 1.331 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/1.294, allocations: 67.25 kB / 1.331 GB, free: 14.96 MB / 1.045 GB Notification: Performance of SimCode: time 1.162e-06/1.294, allocations: 0 / 1.331 GB, free: 14.96 MB / 1.045 GB Notification: Performance of Templates: time 0.04663/1.341, allocations: 20.79 MB / 1.351 GB, free: 6.422 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches