Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001255/0.001255, allocations: 111.4 kB / 17.08 MB, free: 5.961 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.001249/0.001249, allocations: 197.1 kB / 20.03 MB, free: 3.039 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.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.91 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 151.6 MB / 1.176 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9775/1.299, allocations: 187.3 MB / 1.359 GB, free: 4.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0207/1.32, allocations: 13.07 MB / 1.372 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/1.322, allocations: 33.75 kB / 1.372 GB, free: 11.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.324, allocations: 430.9 kB / 1.372 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/1.329, allocations: 1.159 MB / 1.373 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/1.331, allocations: 0.7055 MB / 1.374 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004208/1.335, allocations: 2.011 MB / 1.376 GB, free: 9.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/1.337, allocations: 0.8501 MB / 1.377 GB, free: 8.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/1.342, allocations: 1.812 MB / 1.378 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/1.344, allocations: 0.6606 MB / 1.379 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/1.345, allocations: 80.34 kB / 1.379 GB, free: 7.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/1.347, allocations: 0.8729 MB / 1.38 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005749/1.348, allocations: 384 kB / 1.38 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000856/1.349, allocations: 0.5006 MB / 1.381 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/1.352, allocations: 1.506 MB / 1.382 GB, free: 5.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.352, allocations: 0 / 1.382 GB, free: 5.406 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/1.352, allocations: 0 / 1.382 GB, free: 5.406 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.46e-05/1.352, allocations: 1.312 kB / 1.382 GB, free: 5.406 MB / 1.045 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.002256/1.354, allocations: 1.263 MB / 1.383 GB, free: 4.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.354, allocations: 7.656 kB / 1.384 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.356, allocations: 219.5 kB / 1.384 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/1.357, allocations: 0.6818 MB / 1.384 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/1.357, allocations: 57.38 kB / 1.384 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.357, allocations: 83.95 kB / 1.385 GB, free: 3.711 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/1.359, allocations: 0.9308 MB / 1.385 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.359, allocations: 1.375 kB / 1.385 GB, free: 3.043 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/1.359, allocations: 33.62 kB / 1.385 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/1.359, allocations: 37.97 kB / 1.385 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/1.36, allocations: 0.6181 MB / 1.386 GB, free: 2.703 MB / 1.045 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.005154/1.365, allocations: 4.583 MB / 1.391 GB, free: 14.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/1.366, allocations: 0.5439 MB / 1.391 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/1.366, allocations: 256.3 kB / 1.391 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.366, allocations: 97.53 kB / 1.391 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.366, allocations: 39.91 kB / 1.391 GB, free: 13.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/1.366, allocations: 0 / 1.391 GB, free: 13.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.003121/1.37, allocations: 1.633 MB / 1.393 GB, free: 12.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/1.37, allocations: 107.9 kB / 1.393 GB, free: 12.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/1.371, allocations: 0.7161 MB / 1.394 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/1.371, allocations: 31.92 kB / 1.394 GB, free: 12.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/1.371, allocations: 427.5 kB / 1.394 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/1.371, allocations: 162.2 kB / 1.394 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.372, allocations: 129 kB / 1.395 GB, free: 11.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.372, allocations: 332.8 kB / 1.395 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/1.372, allocations: 180.9 kB / 1.395 GB, free: 11.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/1.373, allocations: 424.3 kB / 1.395 GB, free: 10.79 MB / 1.061 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.002348/1.375, allocations: 1.175 MB / 1.397 GB, free: 9.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.375, allocations: 0 / 1.397 GB, free: 9.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001134/1.376, allocations: 0.6866 MB / 1.397 GB, free: 9.625 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.376, allocations: 12.69 kB / 1.397 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.376, allocations: 5.75 kB / 1.397 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.376, allocations: 14.08 kB / 1.397 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/1.377, allocations: 121.7 kB / 1.397 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/1.377, allocations: 17.95 kB / 1.397 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/1.377, allocations: 23.3 kB / 1.397 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/1.377, allocations: 27.03 kB / 1.398 GB, free: 9.57 MB / 1.061 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.0004617/1.378, allocations: 279.8 kB / 1.398 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.378, allocations: 87.39 kB / 1.398 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/1.378, allocations: 88.56 kB / 1.398 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.378, allocations: 10.16 kB / 1.398 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.378, allocations: 0 / 1.398 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007961/1.379, allocations: 0.6998 MB / 1.399 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/1.382, allocations: 1.651 MB / 1.4 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.382, allocations: 4.75 kB / 1.4 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/1.382, allocations: 106 kB / 1.4 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.382, allocations: 8.562 kB / 1.4 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.382, allocations: 12.59 kB / 1.4 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/1.382, allocations: 19.39 kB / 1.4 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.382, allocations: 2.75 kB / 1.4 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.383, allocations: 0.8685 MB / 1.401 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/1.384, allocations: 207.5 kB / 1.401 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/1.384, allocations: 18.81 kB / 1.401 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/1.384, allocations: 12.12 kB / 1.401 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/1.384, allocations: 45.36 kB / 1.402 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/1.384, allocations: 19.56 kB / 1.402 GB, free: 6.508 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006534/1.385, allocations: 0.5077 MB / 1.402 GB, free: 6.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.385, allocations: 3.938 kB / 1.402 GB, free: 6.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007859/1.386, allocations: 201.1 kB / 1.402 GB, free: 6.195 MB / 1.061 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.0005535/1.386, allocations: 206.6 kB / 1.402 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008067/1.387, allocations: 478.7 kB / 1.403 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.387, allocations: 2.094 kB / 1.403 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002932/1.387, allocations: 211.9 kB / 1.403 GB, free: 5.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.389, allocations: 466.3 kB / 1.404 GB, free: 5.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/1.392, allocations: 1.748 MB / 1.405 GB, free: 4.312 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/1.393, allocations: 1.027 MB / 1.406 GB, free: 3.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/1.393, allocations: 73.05 kB / 1.406 GB, free: 3.441 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.393, allocations: 0 / 1.406 GB, free: 3.441 MB / 1.061 GB Notification: Performance of Templates: time 0.02248/1.416, allocations: 12.98 MB / 1.419 GB, free: 9.996 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.44648598798085]