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.001524/0.001524, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001964/0.001964, allocations: 218 kB / 22.26 MB, free: 5.121 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.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 3.034/3.034, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] 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.002153/0.002153, allocations: 68.73 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4351, allocations: 169.9 MB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2473/0.6824, allocations: 191 MB / 1.47 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01874/0.7012, allocations: 13.21 MB / 1.483 GB, free: 14.19 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.7027, allocations: 43.62 kB / 1.483 GB, free: 14.15 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.7042, allocations: 425.2 kB / 1.484 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.7071, allocations: 0.9722 MB / 1.485 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.7093, allocations: 0.7394 MB / 1.485 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002557/0.7119, allocations: 1.532 MB / 1.487 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008897/0.7128, allocations: 0.4951 MB / 1.487 GB, free: 9.973 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.7175, allocations: 1.814 MB / 1.489 GB, free: 8.152 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.7189, allocations: 0.5455 MB / 1.49 GB, free: 7.613 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.719, allocations: 52 kB / 1.49 GB, free: 7.562 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.7211, allocations: 0.9159 MB / 1.491 GB, free: 6.645 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.7214, allocations: 303 kB / 1.491 GB, free: 6.348 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.7219, allocations: 382 kB / 1.491 GB, free: 5.973 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.7239, allocations: 1.179 MB / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7239, allocations: 0 / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7239, allocations: 0 / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7239, allocations: 0 / 1.492 GB, free: 4.789 MB / 1.186 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.001698/0.7256, allocations: 1.003 MB / 1.493 GB, free: 3.75 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7256, allocations: 12.03 kB / 1.493 GB, free: 3.738 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.7266, allocations: 195.3 kB / 1.494 GB, free: 3.547 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.7276, allocations: 495.8 kB / 1.494 GB, free: 3.039 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.7277, allocations: 53.28 kB / 1.494 GB, free: 2.984 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.7278, allocations: 60 kB / 1.494 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.7291, allocations: 0.775 MB / 1.495 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.7291, allocations: 7.938 kB / 1.495 GB, free: 2.031 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.7291, allocations: 27.94 kB / 1.495 GB, free: 2.004 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.7292, allocations: 24.94 kB / 1.495 GB, free: 1.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.7301, allocations: 463.3 kB / 1.495 GB, free: 1.527 MB / 1.186 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.004645/0.7348, allocations: 4.331 MB / 1.5 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.7349, allocations: 98.36 kB / 1.5 GB, free: 12.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.735, allocations: 75.58 kB / 1.5 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.7352, allocations: 23.92 kB / 1.5 GB, free: 12.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.7352, allocations: 30.56 kB / 1.5 GB, free: 12.7 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.7352, allocations: 0 / 1.5 GB, free: 12.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007264/0.736, allocations: 253 kB / 1.5 GB, free: 12.44 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.736, allocations: 128.5 kB / 1.5 GB, free: 12.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.7373, allocations: 0.845 MB / 1.501 GB, free: 11.43 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.7373, allocations: 29.7 kB / 1.501 GB, free: 11.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.7377, allocations: 415.6 kB / 1.502 GB, free: 10.99 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.7377, allocations: 39.73 kB / 1.502 GB, free: 10.95 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.7379, allocations: 85.98 kB / 1.502 GB, free: 10.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.738, allocations: 325.9 kB / 1.502 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.7383, allocations: 112.7 kB / 1.502 GB, free: 10.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.7388, allocations: 369.5 kB / 1.502 GB, free: 9.949 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.7395, allocations: 445.5 kB / 1.503 GB, free: 9.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7395, allocations: 0 / 1.503 GB, free: 9.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009529/0.7404, allocations: 0.5009 MB / 1.503 GB, free: 8.898 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7404, allocations: 8 kB / 1.503 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7405, allocations: 8 kB / 1.503 GB, free: 8.883 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.7405, allocations: 12.47 kB / 1.503 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.7408, allocations: 95.81 kB / 1.503 GB, free: 8.777 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.7408, allocations: 12 kB / 1.503 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.7415, allocations: 111.7 kB / 1.504 GB, free: 8.656 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.7415, allocations: 39.92 kB / 1.504 GB, free: 8.617 MB / 1.201 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.0002765/0.7418, allocations: 225.6 kB / 1.504 GB, free: 8.387 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.742, allocations: 87.42 kB / 1.504 GB, free: 8.301 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.7421, allocations: 78.25 kB / 1.504 GB, free: 8.223 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.7421, allocations: 7.938 kB / 1.504 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7421, allocations: 0 / 1.504 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7421, allocations: 0 / 1.504 GB, free: 8.215 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.7436, allocations: 1.088 MB / 1.505 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.7436, allocations: 4 kB / 1.505 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.7437, allocations: 15.98 kB / 1.505 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.7437, allocations: 4.312 kB / 1.505 GB, free: 7.02 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.7437, allocations: 12 kB / 1.505 GB, free: 7.008 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.7437, allocations: 7.938 kB / 1.505 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.7437, allocations: 0 / 1.505 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.7441, allocations: 268.2 kB / 1.505 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.7443, allocations: 103.4 kB / 1.505 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.7444, allocations: 4 kB / 1.505 GB, free: 6.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.7447, allocations: 19.97 kB / 1.505 GB, free: 6.566 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.7447, allocations: 15.88 kB / 1.505 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.7447, allocations: 8 kB / 1.505 GB, free: 6.543 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008933/0.7456, allocations: 0.5849 MB / 1.506 GB, free: 5.961 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7456, allocations: 8 kB / 1.506 GB, free: 5.953 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005813/0.7462, allocations: 151.8 kB / 1.506 GB, free: 5.805 MB / 1.201 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.0004677/0.7467, allocations: 174.1 kB / 1.506 GB, free: 5.633 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.7472, allocations: 236.9 kB / 1.507 GB, free: 5.402 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7472, allocations: 4 kB / 1.507 GB, free: 5.398 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.7473, allocations: 48.66 kB / 1.507 GB, free: 5.352 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.7489, allocations: 384.1 kB / 1.507 GB, free: 4.988 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.7506, allocations: 1.069 MB / 1.508 GB, free: 3.859 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.7513, allocations: 0.9447 MB / 1.509 GB, free: 2.887 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.7517, allocations: 150.1 kB / 1.509 GB, free: 2.738 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.7518, allocations: 47.44 kB / 1.509 GB, free: 2.691 MB / 1.201 GB Notification: Performance of SimCode: time 6.62e-07/0.7518, allocations: 0 / 1.509 GB, free: 2.691 MB / 1.201 GB Notification: Performance of Templates: time 0.02384/0.7757, allocations: 12.1 MB / 1.521 GB, free: 6.785 MB / 1.217 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 -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/jenkins/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: 10.234883188735694]