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.001674/0.001674, allocations: 77.78 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.002324/0.002324, allocations: 159.3 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.64/2.64, allocations: 359.1 MB / 0.6044 GB, free: 14.96 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.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.002117/0.002117, allocations: 75.89 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8166/1.159, allocations: 165.6 MB / 1.279 GB, free: 488 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02654/1.186, allocations: 12.01 MB / 1.291 GB, free: 8.387 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/1.188, allocations: 44.38 kB / 1.291 GB, free: 8.363 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/1.19, allocations: 436.1 kB / 1.291 GB, free: 8.105 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004863/1.194, allocations: 1.2 MB / 1.293 GB, free: 7.445 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002999/1.197, allocations: 0.7206 MB / 1.293 GB, free: 7.074 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004271/1.202, allocations: 2.047 MB / 1.295 GB, free: 6.141 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/1.203, allocations: 0.6225 MB / 1.296 GB, free: 5.832 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/1.209, allocations: 1.867 MB / 1.298 GB, free: 4.984 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/1.212, allocations: 0.6784 MB / 1.298 GB, free: 4.734 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003241/1.213, allocations: 80.28 kB / 1.298 GB, free: 4.734 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/1.216, allocations: 0.7344 MB / 1.299 GB, free: 4.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009116/1.217, allocations: 401.2 kB / 1.3 GB, free: 4.316 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009905/1.218, allocations: 416 kB / 1.3 GB, free: 4.109 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/1.222, allocations: 1.495 MB / 1.301 GB, free: 3.551 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.222, allocations: 1.312 kB / 1.301 GB, free: 3.551 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.054e-06/1.222, allocations: 0 / 1.301 GB, free: 3.551 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.006e-05/1.222, allocations: 0 / 1.301 GB, free: 3.551 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003188/1.225, allocations: 1.181 MB / 1.303 GB, free: 2.762 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.226, allocations: 13.12 kB / 1.303 GB, free: 2.758 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.228, allocations: 230.7 kB / 1.303 GB, free: 2.68 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/1.23, allocations: 0.6083 MB / 1.303 GB, free: 2.309 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/1.23, allocations: 61.41 kB / 1.303 GB, free: 2.281 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/1.23, allocations: 79.48 kB / 1.303 GB, free: 2.254 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/1.232, allocations: 1.063 MB / 1.305 GB, free: 1.574 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.232, allocations: 5.031 kB / 1.305 GB, free: 1.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.232, allocations: 29.66 kB / 1.305 GB, free: 1.551 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/1.232, allocations: 30.72 kB / 1.305 GB, free: 1.547 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.234, allocations: 0.6174 MB / 1.305 GB, free: 1.336 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.006534/1.24, allocations: 3.59 MB / 1.309 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.242, allocations: 470.1 kB / 1.309 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/1.242, allocations: 230.1 kB / 1.309 GB, free: 13.99 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.242, allocations: 25.58 kB / 1.309 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/1.243, allocations: 46.48 kB / 1.309 GB, free: 13.93 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/1.243, allocations: 0 / 1.309 GB, free: 13.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.004426/1.247, allocations: 1.523 MB / 1.311 GB, free: 12.97 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.247, allocations: 116.3 kB / 1.311 GB, free: 12.84 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/1.248, allocations: 0.5366 MB / 1.312 GB, free: 12.52 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/1.248, allocations: 36.05 kB / 1.312 GB, free: 12.48 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/1.249, allocations: 442.9 kB / 1.312 GB, free: 12.09 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/1.249, allocations: 171.7 kB / 1.312 GB, free: 11.94 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/1.249, allocations: 117.4 kB / 1.312 GB, free: 11.87 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002782/1.249, allocations: 371 kB / 1.313 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/1.25, allocations: 188.3 kB / 1.313 GB, free: 11.42 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009606/1.251, allocations: 0.5677 MB / 1.313 GB, free: 10.86 MB / 1.154 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.003647/1.255, allocations: 1.099 MB / 1.314 GB, free: 10.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/1.255, allocations: 1.562 kB / 1.314 GB, free: 10.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001838/1.256, allocations: 0.6492 MB / 1.315 GB, free: 9.828 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.256, allocations: 7.562 kB / 1.315 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.256, allocations: 10.59 kB / 1.315 GB, free: 9.824 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/1.257, allocations: 13.38 kB / 1.315 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/1.257, allocations: 130.5 kB / 1.315 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/1.257, allocations: 9.625 kB / 1.315 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/1.258, allocations: 22.98 kB / 1.315 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/1.258, allocations: 31.38 kB / 1.315 GB, free: 9.77 MB / 1.154 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.0006658/1.259, allocations: 272.9 kB / 1.316 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/1.259, allocations: 68.58 kB / 1.316 GB, free: 9.523 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/1.259, allocations: 85.44 kB / 1.316 GB, free: 9.457 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.259, allocations: 5.5 kB / 1.316 GB, free: 9.457 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.26, allocations: 1.375 kB / 1.316 GB, free: 9.457 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/1.261, allocations: 0.7018 MB / 1.316 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/1.265, allocations: 1.445 MB / 1.318 GB, free: 7.801 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.265, allocations: 2.812 kB / 1.318 GB, free: 7.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/1.265, allocations: 100.8 kB / 1.318 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/1.265, allocations: 5.719 kB / 1.318 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/1.265, allocations: 19.52 kB / 1.318 GB, free: 7.766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.157e-05/1.265, allocations: 9.781 kB / 1.318 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/1.265, allocations: 10.72 kB / 1.318 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/1.267, allocations: 0.8642 MB / 1.319 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/1.268, allocations: 108.9 kB / 1.319 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.268, allocations: 9.344 kB / 1.319 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/1.268, allocations: 27.58 kB / 1.319 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/1.269, allocations: 33.3 kB / 1.319 GB, free: 7.051 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/1.269, allocations: 23.95 kB / 1.319 GB, free: 7.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006482/1.269, allocations: 366.6 kB / 1.319 GB, free: 6.828 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.269, allocations: 0 / 1.319 GB, free: 6.828 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001308/1.271, allocations: 203.4 kB / 1.32 GB, free: 6.801 MB / 1.154 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.0005226/1.271, allocations: 186.1 kB / 1.32 GB, free: 6.672 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.272, allocations: 462.4 kB / 1.32 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.272, allocations: 0 / 1.32 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/1.273, allocations: 206.1 kB / 1.32 GB, free: 6.375 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.275, allocations: 340.6 kB / 1.321 GB, free: 6.219 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/1.279, allocations: 1.645 MB / 1.322 GB, free: 5.098 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/1.28, allocations: 447.4 kB / 1.323 GB, free: 4.836 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008309/1.28, allocations: 170 kB / 1.323 GB, free: 4.762 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/1.281, allocations: 55.61 kB / 1.323 GB, free: 4.75 MB / 1.154 GB Notification: Performance of SimCode: time 8.32e-07/1.281, allocations: 0 / 1.323 GB, free: 4.75 MB / 1.154 GB Notification: Performance of Templates: time 0.0331/1.314, allocations: 11.95 MB / 1.335 GB, free: 9.227 MB / 1.17 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 -s ida -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: 9.396289694937877]