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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 112.2 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 189.4 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.84 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.6794, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1862/0.8657, allocations: 187.3 MB / 1.35 GB, free: 7.816 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.88, allocations: 13.08 MB / 1.363 GB, free: 10.7 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.8811, allocations: 35.81 kB / 1.363 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.8824, allocations: 433.2 kB / 1.363 GB, free: 10.24 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/0.8851, allocations: 1.211 MB / 1.365 GB, free: 9.023 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.8868, allocations: 0.7021 MB / 1.365 GB, free: 8.324 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.8897, allocations: 2.037 MB / 1.367 GB, free: 6.285 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.891, allocations: 0.8356 MB / 1.368 GB, free: 5.426 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.8949, allocations: 1.876 MB / 1.37 GB, free: 3.543 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.8966, allocations: 0.663 MB / 1.371 GB, free: 2.883 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.8969, allocations: 80 kB / 1.371 GB, free: 2.805 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.899, allocations: 0.8848 MB / 1.372 GB, free: 1.918 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005306/0.8995, allocations: 387 kB / 1.372 GB, free: 1.539 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009878/0.9005, allocations: 0.4937 MB / 1.372 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.9032, allocations: 1.503 MB / 1.374 GB, free: 15.54 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9032, allocations: 0 / 1.374 GB, free: 15.54 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.414e-06/0.9032, allocations: 0 / 1.374 GB, free: 15.54 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.325e-05/0.9033, allocations: 0 / 1.374 GB, free: 15.54 MB / 1.107 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.002324/0.9056, allocations: 1.229 MB / 1.375 GB, free: 14.26 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.9057, allocations: 12.91 kB / 1.375 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.907, allocations: 210.6 kB / 1.375 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.9082, allocations: 0.6831 MB / 1.376 GB, free: 13.31 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.9083, allocations: 61.94 kB / 1.376 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.9084, allocations: 83.98 kB / 1.376 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.9098, allocations: 0.9288 MB / 1.377 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.9098, allocations: 0 / 1.377 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.9099, allocations: 39.94 kB / 1.377 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.9099, allocations: 29.25 kB / 1.377 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.911, allocations: 0.6177 MB / 1.378 GB, free: 11.47 MB / 1.107 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.004374/0.9153, allocations: 4.574 MB / 1.382 GB, free: 6.598 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.9162, allocations: 0.5441 MB / 1.383 GB, free: 6.008 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.9165, allocations: 260.8 kB / 1.383 GB, free: 5.746 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.9167, allocations: 101 kB / 1.383 GB, free: 5.629 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.9168, allocations: 38.55 kB / 1.383 GB, free: 5.582 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.9168, allocations: 0 / 1.383 GB, free: 5.582 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.002673/0.9195, allocations: 1.589 MB / 1.385 GB, free: 3.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.9195, allocations: 110.8 kB / 1.385 GB, free: 3.797 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.9203, allocations: 0.7077 MB / 1.385 GB, free: 3.082 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.9204, allocations: 37.7 kB / 1.385 GB, free: 3.039 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.9207, allocations: 419.7 kB / 1.386 GB, free: 2.621 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.9208, allocations: 161.8 kB / 1.386 GB, free: 2.461 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.921, allocations: 122.2 kB / 1.386 GB, free: 2.336 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9211, allocations: 330 kB / 1.386 GB, free: 2.008 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.9214, allocations: 185.2 kB / 1.387 GB, free: 1.828 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.9218, allocations: 417 kB / 1.387 GB, free: 1.324 MB / 1.107 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.002203/0.9241, allocations: 1.178 MB / 1.388 GB, free: 44 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.9241, allocations: 4 kB / 1.388 GB, free: 40 kB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001007/0.9251, allocations: 0.6757 MB / 1.389 GB, free: 15.36 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.9251, allocations: 7.938 kB / 1.389 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.9251, allocations: 8 kB / 1.389 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.9252, allocations: 8 kB / 1.389 GB, free: 15.33 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.9256, allocations: 127.8 kB / 1.389 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.9257, allocations: 11.94 kB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.9262, allocations: 27.92 kB / 1.389 GB, free: 15.17 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.9263, allocations: 32.31 kB / 1.389 GB, free: 15.14 MB / 1.123 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.000349/0.9267, allocations: 281.5 kB / 1.389 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.9268, allocations: 83 kB / 1.389 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.927, allocations: 91.66 kB / 1.389 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007228/0.9277, allocations: 0.6988 MB / 1.39 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9278, allocations: 0 / 1.39 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.9281, allocations: 200 kB / 1.39 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9282, allocations: 11.98 kB / 1.39 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.9287, allocations: 12 kB / 1.39 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.9288, allocations: 28.06 kB / 1.39 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001123/0.9299, allocations: 0.7309 MB / 1.391 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001139/0.931, allocations: 1.051 MB / 1.392 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000282/0.9313, allocations: 203.9 kB / 1.392 GB, free: 11.62 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005544/0.9319, allocations: 0.4912 MB / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of Backend: time 4.31e-07/0.9319, allocations: 0 / 1.393 GB, free: 11.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.9336, allocations: 0.612 MB / 1.393 GB, free: 10.54 MB / 1.123 GB Notification: Performance of SimCode: time 0.003576/0.9372, allocations: 2.25 MB / 1.396 GB, free: 8.25 MB / 1.123 GB Notification: Performance of Templates: time 0.02667/0.9639, allocations: 16.53 MB / 1.412 GB, free: 7.945 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches