Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 155.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.712/2.712, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 67.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3275, allocations: 169.9 MB / 1.117 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8087/1.136, allocations: 165.5 MB / 1.279 GB, free: 0.582 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01767/1.154, allocations: 11.97 MB / 1.291 GB, free: 8.527 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/1.155, allocations: 43.66 kB / 1.291 GB, free: 8.504 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.157, allocations: 410.5 kB / 1.291 GB, free: 8.262 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/1.159, allocations: 0.9648 MB / 1.292 GB, free: 7.73 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/1.162, allocations: 0.7218 MB / 1.293 GB, free: 7.375 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002439/1.164, allocations: 1.523 MB / 1.294 GB, free: 6.688 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/1.165, allocations: 497.8 kB / 1.295 GB, free: 6.457 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/1.17, allocations: 1.778 MB / 1.296 GB, free: 5.648 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/1.171, allocations: 0.515 MB / 1.297 GB, free: 5.457 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/1.171, allocations: 53.59 kB / 1.297 GB, free: 5.457 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/1.173, allocations: 0.731 MB / 1.298 GB, free: 5.227 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/1.174, allocations: 288.4 kB / 1.298 GB, free: 5.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004103/1.174, allocations: 310.8 kB / 1.298 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001912/1.176, allocations: 1.165 MB / 1.299 GB, free: 4.527 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.176, allocations: 0 / 1.299 GB, free: 4.527 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.442e-06/1.176, allocations: 0 / 1.299 GB, free: 4.527 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.176, allocations: 0 / 1.299 GB, free: 4.527 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001702/1.178, allocations: 1.006 MB / 1.3 GB, free: 3.809 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.178, allocations: 12.19 kB / 1.3 GB, free: 3.809 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/1.179, allocations: 194 kB / 1.301 GB, free: 3.75 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/1.18, allocations: 493.2 kB / 1.301 GB, free: 3.434 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/1.18, allocations: 50.22 kB / 1.301 GB, free: 3.406 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/1.18, allocations: 58.55 kB / 1.301 GB, free: 3.387 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/1.181, allocations: 0.797 MB / 1.302 GB, free: 2.855 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.181, allocations: 10.61 kB / 1.302 GB, free: 2.848 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/1.181, allocations: 28.2 kB / 1.302 GB, free: 2.828 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/1.181, allocations: 26.12 kB / 1.302 GB, free: 2.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/1.182, allocations: 457.1 kB / 1.303 GB, free: 2.676 MB / 1.139 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.003814/1.186, allocations: 3.86 MB / 1.306 GB, free: 15.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/1.186, allocations: 101.4 kB / 1.306 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.186, allocations: 71.61 kB / 1.306 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/1.186, allocations: 22.52 kB / 1.306 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.186, allocations: 41.59 kB / 1.306 GB, free: 15.11 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/1.186, allocations: 1.844 kB / 1.307 GB, free: 15.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0005189/1.187, allocations: 196 kB / 1.307 GB, free: 15.02 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/1.187, allocations: 137.9 kB / 1.307 GB, free: 14.86 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/1.188, allocations: 0.5899 MB / 1.307 GB, free: 14.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/1.188, allocations: 31.58 kB / 1.307 GB, free: 14.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/1.188, allocations: 429.4 kB / 1.308 GB, free: 14.21 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.188, allocations: 46.14 kB / 1.308 GB, free: 14.18 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.188, allocations: 89.56 kB / 1.308 GB, free: 14.13 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.188, allocations: 361.8 kB / 1.308 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/1.189, allocations: 110.6 kB / 1.308 GB, free: 13.77 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/1.189, allocations: 0.5137 MB / 1.309 GB, free: 13.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/1.19, allocations: 438.5 kB / 1.309 GB, free: 12.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.19, allocations: 2.531 kB / 1.309 GB, free: 12.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009316/1.191, allocations: 483.6 kB / 1.31 GB, free: 12.65 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.191, allocations: 11.17 kB / 1.31 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.191, allocations: 8.469 kB / 1.31 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.191, allocations: 10.97 kB / 1.31 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/1.191, allocations: 99.02 kB / 1.31 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.191, allocations: 16.91 kB / 1.31 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/1.192, allocations: 78.58 kB / 1.31 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/1.192, allocations: 28.28 kB / 1.31 GB, free: 12.59 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002999/1.192, allocations: 232.2 kB / 1.31 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.192, allocations: 56.97 kB / 1.31 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.069e-05/1.193, allocations: 53.44 kB / 1.31 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.193, allocations: 3.25 kB / 1.31 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.193, allocations: 3.859 kB / 1.31 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.193, allocations: 3.125 kB / 1.31 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.194, allocations: 1.001 MB / 1.311 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.194, allocations: 2.344 kB / 1.311 GB, free: 11.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/1.194, allocations: 23.2 kB / 1.311 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.194, allocations: 6.406 kB / 1.311 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.194, allocations: 8.25 kB / 1.311 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.194, allocations: 2.125 kB / 1.311 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/1.194, allocations: 6.344 kB / 1.311 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/1.194, allocations: 248.4 kB / 1.312 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.194, allocations: 67.77 kB / 1.312 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/1.194, allocations: 3.094 kB / 1.312 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/1.195, allocations: 19.2 kB / 1.312 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/1.195, allocations: 9.734 kB / 1.312 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/1.195, allocations: 4.219 kB / 1.312 GB, free: 11.29 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005807/1.195, allocations: 412.9 kB / 1.312 GB, free: 11.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.195, allocations: 0 / 1.312 GB, free: 11.05 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007288/1.196, allocations: 180 kB / 1.312 GB, free: 11 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0004378/1.196, allocations: 189.9 kB / 1.312 GB, free: 10.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005534/1.197, allocations: 233.1 kB / 1.313 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.197, allocations: 0 / 1.313 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/1.197, allocations: 49.8 kB / 1.313 GB, free: 10.75 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/1.198, allocations: 205.8 kB / 1.313 GB, free: 10.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/1.2, allocations: 1.044 MB / 1.314 GB, free: 9.953 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.2, allocations: 340.7 kB / 1.314 GB, free: 9.746 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003387/1.201, allocations: 111.7 kB / 1.314 GB, free: 9.695 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/1.201, allocations: 34.19 kB / 1.314 GB, free: 9.688 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.201, allocations: 6.75 kB / 1.314 GB, free: 9.684 MB / 1.154 GB Notification: Performance of Templates: time 0.01489/1.216, allocations: 7.663 MB / 1.322 GB, free: 5.918 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.05631523008924]