Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001374/0.001374, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001531/0.001531, allocations: 216.9 kB / 22.99 MB, free: 4.965 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 2.721/2.721, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.002091/0.002091, allocations: 68.81 kB / 1.118 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 169.9 MB / 1.284 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.22/0.5672, allocations: 165.6 MB / 1.446 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.5859, allocations: 12.02 MB / 1.457 GB, free: 1.43 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.5874, allocations: 43.62 kB / 1.457 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.5892, allocations: 425.2 kB / 1.458 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.5931, allocations: 1.209 MB / 1.459 GB, free: 15.75 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.5955, allocations: 0.7244 MB / 1.46 GB, free: 15.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.5989, allocations: 2.043 MB / 1.462 GB, free: 12.98 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.6002, allocations: 0.6176 MB / 1.462 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.6049, allocations: 1.86 MB / 1.464 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.6069, allocations: 0.6994 MB / 1.465 GB, free: 9.781 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.6071, allocations: 80 kB / 1.465 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.6089, allocations: 0.7247 MB / 1.465 GB, free: 8.977 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.6094, allocations: 398.9 kB / 1.466 GB, free: 8.586 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005821/0.61, allocations: 418.1 kB / 1.466 GB, free: 8.176 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.6124, allocations: 1.487 MB / 1.468 GB, free: 6.684 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6124, allocations: 0 / 1.468 GB, free: 6.684 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6124, allocations: 0 / 1.468 GB, free: 6.684 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.6124, allocations: 4 kB / 1.468 GB, free: 6.68 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002068/0.6145, allocations: 1.182 MB / 1.469 GB, free: 5.465 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6146, allocations: 11.97 kB / 1.469 GB, free: 5.453 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6158, allocations: 227.1 kB / 1.469 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6171, allocations: 0.6077 MB / 1.47 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.6172, allocations: 58 kB / 1.47 GB, free: 4.535 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.6173, allocations: 79.95 kB / 1.47 GB, free: 4.457 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.6188, allocations: 1.062 MB / 1.471 GB, free: 3.273 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.6189, allocations: 4 kB / 1.471 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.6189, allocations: 35.94 kB / 1.471 GB, free: 3.234 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.619, allocations: 33.3 kB / 1.471 GB, free: 3.203 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6201, allocations: 0.6177 MB / 1.472 GB, free: 2.586 MB / 1.17 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.00464/0.6247, allocations: 3.59 MB / 1.475 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.6256, allocations: 459.7 kB / 1.475 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.6259, allocations: 226.5 kB / 1.476 GB, free: 14.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.6261, allocations: 27.98 kB / 1.476 GB, free: 14.13 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6261, allocations: 46.48 kB / 1.476 GB, free: 14.08 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 2.514e-06/0.6261, allocations: 0 / 1.476 GB, free: 14.08 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.002948/0.6291, allocations: 1.526 MB / 1.477 GB, free: 12.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.6292, allocations: 110.8 kB / 1.477 GB, free: 12.38 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.6299, allocations: 0.538 MB / 1.478 GB, free: 11.84 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.6299, allocations: 41.89 kB / 1.478 GB, free: 11.79 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.6303, allocations: 436.1 kB / 1.478 GB, free: 11.36 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.6304, allocations: 178.5 kB / 1.479 GB, free: 11.18 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.6306, allocations: 114.3 kB / 1.479 GB, free: 11.07 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6308, allocations: 374.8 kB / 1.479 GB, free: 10.69 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.6311, allocations: 189.2 kB / 1.479 GB, free: 10.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.6318, allocations: 0.5578 MB / 1.48 GB, free: 9.816 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.6341, allocations: 1.106 MB / 1.481 GB, free: 8.625 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6341, allocations: 0 / 1.481 GB, free: 8.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001115/0.6352, allocations: 0.6529 MB / 1.481 GB, free: 7.965 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6352, allocations: 8 kB / 1.481 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6352, allocations: 15.92 kB / 1.481 GB, free: 7.941 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.6353, allocations: 8 kB / 1.481 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.6357, allocations: 123.8 kB / 1.482 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.6358, allocations: 11.94 kB / 1.482 GB, free: 7.801 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.6363, allocations: 28.42 kB / 1.482 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.6363, allocations: 32.09 kB / 1.482 GB, free: 7.742 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004363/0.6368, allocations: 274.7 kB / 1.482 GB, free: 7.465 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.6369, allocations: 67.58 kB / 1.482 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.6371, allocations: 82.19 kB / 1.482 GB, free: 7.316 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6371, allocations: 7.984 kB / 1.482 GB, free: 7.309 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6371, allocations: 3.938 kB / 1.482 GB, free: 7.305 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000799/0.6379, allocations: 0.6988 MB / 1.483 GB, free: 6.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.6403, allocations: 1.44 MB / 1.484 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6403, allocations: 4 kB / 1.484 GB, free: 4.988 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.6408, allocations: 96.39 kB / 1.484 GB, free: 4.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.6408, allocations: 15.98 kB / 1.484 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.6408, allocations: 12 kB / 1.484 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.6408, allocations: 11.88 kB / 1.484 GB, free: 4.855 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6408, allocations: 4 kB / 1.484 GB, free: 4.852 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.642, allocations: 0.8578 MB / 1.485 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.6423, allocations: 107.5 kB / 1.485 GB, free: 3.82 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.6424, allocations: 16 kB / 1.485 GB, free: 3.805 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.6428, allocations: 23.92 kB / 1.485 GB, free: 3.781 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.6428, allocations: 43.88 kB / 1.485 GB, free: 3.738 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.6429, allocations: 23.94 kB / 1.485 GB, free: 3.715 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004645/0.6433, allocations: 362.8 kB / 1.486 GB, free: 3.363 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6433, allocations: 0 / 1.486 GB, free: 3.363 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007435/0.6441, allocations: 203.9 kB / 1.486 GB, free: 3.164 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004802/0.6446, allocations: 183.2 kB / 1.486 GB, free: 2.984 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008225/0.6454, allocations: 464 kB / 1.486 GB, free: 2.531 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6454, allocations: 0 / 1.486 GB, free: 2.531 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.6457, allocations: 205.2 kB / 1.487 GB, free: 2.332 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.6472, allocations: 338.7 kB / 1.487 GB, free: 2.016 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.65, allocations: 1.72 MB / 1.489 GB, free: 212 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.6505, allocations: 440.2 kB / 1.489 GB, free: 15.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.6507, allocations: 59.42 kB / 1.489 GB, free: 15.69 MB / 1.201 GB Notification: Performance of SimCode: time 7.32e-07/0.6507, allocations: 0 / 1.489 GB, free: 15.69 MB / 1.201 GB Notification: Performance of Templates: time 0.01894/0.6696, allocations: 11.48 MB / 1.5 GB, free: 4.297 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 13.416078980080783]