Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005189/0.005189, allocations: 101 kB / 15.73 MB, free: 5.988 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.001179/0.001179, allocations: 193.8 kB / 16.67 MB, free: 5.91 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9515/0.9529, allocations: 159.1 MB / 1.221 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04798/1.001, allocations: 49.87 MB / 1.269 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.02, allocations: 12.7 MB / 1.282 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/1.023, allocations: 83.5 kB / 1.282 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002198/1.025, allocations: 0.7799 MB / 1.283 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005042/1.03, allocations: 1.916 MB / 1.284 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/1.034, allocations: 1.373 MB / 1.286 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004533/1.038, allocations: 3.245 MB / 1.289 GB, free: 11.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/1.04, allocations: 1.032 MB / 1.29 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/1.043, allocations: 1.334 MB / 1.291 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/1.045, allocations: 0.9291 MB / 1.292 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/1.045, allocations: 96 kB / 1.292 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.048, allocations: 1.068 MB / 1.293 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004246/1.048, allocations: 302.6 kB / 1.294 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/1.049, allocations: 0.6723 MB / 1.294 GB, free: 6.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/1.053, allocations: 1.973 MB / 1.296 GB, free: 4.414 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.053, allocations: 0 / 1.296 GB, free: 4.414 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.053, allocations: 0 / 1.296 GB, free: 4.414 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.717e-05/1.053, allocations: 0 / 1.296 GB, free: 4.414 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.003268/1.056, allocations: 1.75 MB / 1.298 GB, free: 2.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.056, allocations: 8.031 kB / 1.298 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/1.057, allocations: 215.9 kB / 1.298 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/1.059, allocations: 1.099 MB / 1.299 GB, free: 1.234 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.059, allocations: 66.38 kB / 1.299 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.059, allocations: 83.94 kB / 1.299 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/1.061, allocations: 1.003 MB / 1.3 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.061, allocations: 4 kB / 1.3 GB, free: 0 / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/1.061, allocations: 40.05 kB / 1.3 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/1.061, allocations: 27.94 kB / 1.3 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/1.063, allocations: 0.6477 MB / 1.301 GB, free: 15.29 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.00528/1.068, allocations: 4.733 MB / 1.306 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.069, allocations: 375.1 kB / 1.306 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/1.069, allocations: 200.7 kB / 1.306 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008643/1.07, allocations: 1.148 MB / 1.307 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.07, allocations: 38.56 kB / 1.307 GB, free: 8.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/1.07, allocations: 0 / 1.307 GB, free: 8.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.002701/1.073, allocations: 1.076 MB / 1.308 GB, free: 7.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.073, allocations: 63.28 kB / 1.308 GB, free: 7.035 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.074, allocations: 0.9754 MB / 1.309 GB, free: 6.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/1.074, allocations: 33.7 kB / 1.309 GB, free: 6.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/1.075, allocations: 0.6017 MB / 1.31 GB, free: 5.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/1.075, allocations: 107.1 kB / 1.31 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.075, allocations: 118.1 kB / 1.31 GB, free: 5.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.075, allocations: 322 kB / 1.311 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/1.076, allocations: 201 kB / 1.311 GB, free: 4.656 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/1.076, allocations: 410.3 kB / 1.311 GB, free: 4.172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.077, allocations: 0.595 MB / 1.312 GB, free: 3.488 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.077, allocations: 4 kB / 1.312 GB, free: 3.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001769/1.079, allocations: 0.7525 MB / 1.312 GB, free: 2.715 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.079, allocations: 8.844 kB / 1.312 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.079, allocations: 8 kB / 1.312 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/1.08, allocations: 162.5 kB / 1.313 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/1.081, allocations: 151.7 kB / 1.313 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/1.082, allocations: 1.72 MB / 1.314 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/1.082, allocations: 87.47 kB / 1.314 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/1.082, allocations: 31.98 kB / 1.315 GB, free: 480 kB / 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.00044/1.083, allocations: 273.8 kB / 1.315 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/1.083, allocations: 115.2 kB / 1.315 GB, free: 80 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.085, allocations: 0.7195 MB / 1.316 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.085, allocations: 4 kB / 1.316 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.085, allocations: 3.938 kB / 1.316 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.085, allocations: 0 / 1.316 GB, free: 15.33 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/1.088, allocations: 1.636 MB / 1.317 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.088, allocations: 0 / 1.317 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/1.088, allocations: 92.03 kB / 1.317 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/1.089, allocations: 146.5 kB / 1.317 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/1.089, allocations: 15.92 kB / 1.317 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/1.09, allocations: 1.712 MB / 1.319 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.09, allocations: 4.031 kB / 1.319 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/1.091, allocations: 0.7728 MB / 1.32 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/1.092, allocations: 252.1 kB / 1.32 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.092, allocations: 11.94 kB / 1.32 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/1.093, allocations: 47.94 kB / 1.32 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/1.093, allocations: 31.84 kB / 1.32 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/1.093, allocations: 23.98 kB / 1.32 GB, free: 10.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009029/1.094, allocations: 0.658 MB / 1.321 GB, free: 9.707 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.094, allocations: 0 / 1.321 GB, free: 9.707 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001145/1.095, allocations: 379 kB / 1.321 GB, free: 9.336 MB / 1.045 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.0009658/1.096, allocations: 421.9 kB / 1.322 GB, free: 8.922 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00157/1.097, allocations: 0.532 MB / 1.322 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.097, allocations: 0 / 1.322 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/1.098, allocations: 276 kB / 1.322 GB, free: 8.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.1, allocations: 0.521 MB / 1.323 GB, free: 7.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/1.104, allocations: 1.843 MB / 1.325 GB, free: 5.715 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009007/1.105, allocations: 1.099 MB / 1.326 GB, free: 4.586 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0007997/1.106, allocations: 193.2 kB / 1.326 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.106, allocations: 71.42 kB / 1.326 GB, free: 4.324 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/1.106, allocations: 0 / 1.326 GB, free: 4.324 MB / 1.045 GB Notification: Performance of Templates: time 0.03782/1.144, allocations: 20.9 MB / 1.346 GB, free: 15.7 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches