Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 192.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.372/3.372, allocations: 495.8 MB / 0.783 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 68.92 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4928, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2938/0.7866, allocations: 186.3 MB / 1.489 GB, free: 6.809 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.8056, allocations: 13.12 MB / 1.502 GB, free: 9.652 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.8073, allocations: 43.62 kB / 1.502 GB, free: 9.609 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.8089, allocations: 441.1 kB / 1.502 GB, free: 9.176 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.8127, allocations: 1.221 MB / 1.503 GB, free: 7.949 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.8152, allocations: 0.7403 MB / 1.504 GB, free: 7.211 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003367/0.8186, allocations: 2.063 MB / 1.506 GB, free: 5.145 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.8197, allocations: 0.6176 MB / 1.507 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005358/0.825, allocations: 2.055 MB / 1.509 GB, free: 2.438 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.8268, allocations: 0.7121 MB / 1.509 GB, free: 1.73 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.827, allocations: 80 kB / 1.509 GB, free: 1.652 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.8289, allocations: 0.7248 MB / 1.51 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.8294, allocations: 398.8 kB / 1.51 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.8301, allocations: 0.4976 MB / 1.511 GB, free: 36 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.8328, allocations: 1.479 MB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.8328, allocations: 3.938 kB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8328, allocations: 4 kB / 1.512 GB, free: 14.54 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.8328, allocations: 0 / 1.512 GB, free: 14.54 MB / 1.217 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.002302/0.8351, allocations: 1.19 MB / 1.513 GB, free: 13.32 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.8352, allocations: 8.031 kB / 1.513 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.8365, allocations: 215.2 kB / 1.514 GB, free: 13.1 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.8379, allocations: 0.6194 MB / 1.514 GB, free: 12.46 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.838, allocations: 58 kB / 1.514 GB, free: 12.4 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.8381, allocations: 76 kB / 1.514 GB, free: 12.33 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.8396, allocations: 0.9288 MB / 1.515 GB, free: 11.31 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.8397, allocations: 4 kB / 1.515 GB, free: 11.31 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/0.8397, allocations: 39.88 kB / 1.515 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.8398, allocations: 29.31 kB / 1.515 GB, free: 11.24 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.8408, allocations: 0.6255 MB / 1.516 GB, free: 10.61 MB / 1.217 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.005173/0.846, allocations: 4.584 MB / 1.52 GB, free: 5.719 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.8469, allocations: 459.9 kB / 1.521 GB, free: 5.242 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.8472, allocations: 239.5 kB / 1.521 GB, free: 5 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.8474, allocations: 23.98 kB / 1.521 GB, free: 4.977 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.8475, allocations: 42.5 kB / 1.521 GB, free: 4.926 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 3.367e-06/0.8475, allocations: 0 / 1.521 GB, free: 4.926 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003143/0.8506, allocations: 1.548 MB / 1.523 GB, free: 3.344 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.8507, allocations: 110.8 kB / 1.523 GB, free: 3.211 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.8517, allocations: 0.7116 MB / 1.524 GB, free: 2.492 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.8517, allocations: 37.7 kB / 1.524 GB, free: 2.449 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/0.8521, allocations: 424.5 kB / 1.524 GB, free: 2.027 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.8523, allocations: 170.6 kB / 1.524 GB, free: 1.859 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8525, allocations: 122.3 kB / 1.524 GB, free: 1.734 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8526, allocations: 330 kB / 1.525 GB, free: 1.406 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.853, allocations: 185.2 kB / 1.525 GB, free: 1.227 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.8535, allocations: 424.9 kB / 1.525 GB, free: 0.7148 MB / 1.217 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.002342/0.8558, allocations: 1.105 MB / 1.526 GB, free: 15.53 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.8558, allocations: 4 kB / 1.526 GB, free: 15.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00109/0.8569, allocations: 0.6759 MB / 1.527 GB, free: 14.84 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.8569, allocations: 11.94 kB / 1.527 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.857, allocations: 4 kB / 1.527 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.857, allocations: 12 kB / 1.527 GB, free: 14.81 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.8574, allocations: 127.8 kB / 1.527 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.8575, allocations: 15.94 kB / 1.527 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.858, allocations: 27.92 kB / 1.527 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.858, allocations: 28.28 kB / 1.527 GB, free: 14.62 MB / 1.232 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.0004189/0.8585, allocations: 277.6 kB / 1.527 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.8586, allocations: 87.42 kB / 1.527 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.8588, allocations: 95.66 kB / 1.528 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8588, allocations: 7.938 kB / 1.528 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8588, allocations: 0 / 1.528 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008307/0.8597, allocations: 0.7002 MB / 1.528 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.8623, allocations: 1.61 MB / 1.53 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.8623, allocations: 4 kB / 1.53 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.8628, allocations: 95.89 kB / 1.53 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.8628, allocations: 15.92 kB / 1.53 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.8628, allocations: 16.5 kB / 1.53 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.8628, allocations: 11.94 kB / 1.53 GB, free: 11.51 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8628, allocations: 4 kB / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.8641, allocations: 0.8652 MB / 1.531 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.8644, allocations: 135.4 kB / 1.531 GB, free: 10.44 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.8645, allocations: 12 kB / 1.531 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.8649, allocations: 19.98 kB / 1.531 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.865, allocations: 39.83 kB / 1.531 GB, free: 10.37 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.865, allocations: 23.98 kB / 1.531 GB, free: 10.35 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006876/0.8657, allocations: 0.5068 MB / 1.532 GB, free: 9.844 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.8657, allocations: 0 / 1.532 GB, free: 9.844 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007835/0.8665, allocations: 207.9 kB / 1.532 GB, free: 9.641 MB / 1.232 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.0005824/0.8671, allocations: 197.7 kB / 1.532 GB, free: 9.457 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008443/0.8679, allocations: 472.8 kB / 1.532 GB, free: 8.996 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.8679, allocations: 0 / 1.532 GB, free: 8.996 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.8682, allocations: 204.2 kB / 1.533 GB, free: 8.797 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.8703, allocations: 478.4 kB / 1.533 GB, free: 8.34 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.8734, allocations: 1.685 MB / 1.535 GB, free: 6.578 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.8741, allocations: 1.028 MB / 1.536 GB, free: 5.523 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006052/0.8747, allocations: 195 kB / 1.536 GB, free: 5.328 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.8749, allocations: 63.44 kB / 1.536 GB, free: 5.266 MB / 1.232 GB Notification: Performance of SimCode: time 6.01e-07/0.8749, allocations: 0 / 1.536 GB, free: 5.266 MB / 1.232 GB Notification: Performance of Templates: time 0.03161/0.9065, allocations: 15.63 MB / 1.551 GB, free: 5.855 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.740181092172861]