Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01064/0.01064, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.002028/0.002028, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3408, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.006/1.347, allocations: 187.3 MB / 1.391 GB, free: 1.699 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.364, allocations: 13.07 MB / 1.403 GB, free: 7.109 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/1.365, allocations: 32.72 kB / 1.403 GB, free: 7.098 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001459/1.367, allocations: 428.6 kB / 1.404 GB, free: 6.738 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/1.37, allocations: 1.159 MB / 1.405 GB, free: 5.824 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/1.372, allocations: 0.7012 MB / 1.406 GB, free: 5.285 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002906/1.375, allocations: 2.018 MB / 1.408 GB, free: 4.121 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.376, allocations: 0.8509 MB / 1.408 GB, free: 3.605 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004265/1.381, allocations: 1.825 MB / 1.41 GB, free: 2.41 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/1.382, allocations: 0.6635 MB / 1.411 GB, free: 2.016 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/1.382, allocations: 80.28 kB / 1.411 GB, free: 2.016 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/1.384, allocations: 0.877 MB / 1.412 GB, free: 1.555 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005189/1.385, allocations: 383.5 kB / 1.412 GB, free: 1.305 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006686/1.386, allocations: 0.4963 MB / 1.413 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/1.388, allocations: 1.504 MB / 1.414 GB, free: 15.99 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.388, allocations: 0 / 1.414 GB, free: 15.99 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.595e-06/1.388, allocations: 0 / 1.414 GB, free: 15.99 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.388, allocations: 0 / 1.414 GB, free: 15.99 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.002101/1.39, allocations: 1.229 MB / 1.415 GB, free: 15.03 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.39, allocations: 15.23 kB / 1.415 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.392, allocations: 208 kB / 1.416 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.393, allocations: 0.688 MB / 1.416 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/1.393, allocations: 60.81 kB / 1.416 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/1.393, allocations: 82.17 kB / 1.416 GB, free: 14.33 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.394, allocations: 0.9291 MB / 1.417 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.394, allocations: 2.531 kB / 1.417 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/1.394, allocations: 31.75 kB / 1.417 GB, free: 13.64 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/1.394, allocations: 35.56 kB / 1.417 GB, free: 13.64 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/1.395, allocations: 0.6191 MB / 1.418 GB, free: 13.34 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.004089/1.399, allocations: 4.573 MB / 1.422 GB, free: 9.129 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/1.4, allocations: 0.5402 MB / 1.423 GB, free: 8.754 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/1.401, allocations: 258.3 kB / 1.423 GB, free: 8.613 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/1.401, allocations: 100 kB / 1.423 GB, free: 8.512 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.401, allocations: 37.19 kB / 1.423 GB, free: 8.469 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/1.401, allocations: 0 / 1.423 GB, free: 8.469 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.002627/1.403, allocations: 1.595 MB / 1.425 GB, free: 7.426 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.403, allocations: 108.6 kB / 1.425 GB, free: 7.301 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/1.404, allocations: 0.7154 MB / 1.426 GB, free: 6.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/1.404, allocations: 32.39 kB / 1.426 GB, free: 6.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.405, allocations: 418 kB / 1.426 GB, free: 6.492 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.405, allocations: 168.5 kB / 1.426 GB, free: 6.344 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.405, allocations: 118.2 kB / 1.426 GB, free: 6.223 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.405, allocations: 334 kB / 1.427 GB, free: 5.891 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/1.405, allocations: 185.2 kB / 1.427 GB, free: 5.707 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/1.406, allocations: 421 kB / 1.427 GB, free: 5.203 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.002156/1.408, allocations: 1.173 MB / 1.428 GB, free: 3.926 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.408, allocations: 7.938 kB / 1.428 GB, free: 3.918 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009344/1.409, allocations: 0.6678 MB / 1.429 GB, free: 3.242 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/1.409, allocations: 11.94 kB / 1.429 GB, free: 3.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.409, allocations: 8 kB / 1.429 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.409, allocations: 8 kB / 1.429 GB, free: 3.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/1.409, allocations: 131.6 kB / 1.429 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.409, allocations: 11.94 kB / 1.429 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/1.41, allocations: 28.3 kB / 1.429 GB, free: 3.051 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/1.41, allocations: 32 kB / 1.429 GB, free: 3.02 MB / 1.107 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.0003336/1.41, allocations: 277.5 kB / 1.43 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/1.411, allocations: 83 kB / 1.43 GB, free: 2.656 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/1.411, allocations: 87.66 kB / 1.43 GB, free: 2.566 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.411, allocations: 8 kB / 1.43 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.411, allocations: 0 / 1.43 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006746/1.411, allocations: 0.6964 MB / 1.43 GB, free: 1.777 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.414, allocations: 1.639 MB / 1.432 GB, free: 32 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.414, allocations: 4 kB / 1.432 GB, free: 28 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/1.414, allocations: 99.83 kB / 1.432 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.414, allocations: 12.44 kB / 1.432 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/1.414, allocations: 19.98 kB / 1.432 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/1.414, allocations: 4 kB / 1.432 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.414, allocations: 8 kB / 1.432 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.415, allocations: 0.8689 MB / 1.433 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/1.416, allocations: 204.2 kB / 1.433 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.105e-05/1.416, allocations: 19.94 kB / 1.433 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/1.416, allocations: 15.98 kB / 1.433 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/1.416, allocations: 43.84 kB / 1.433 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/1.416, allocations: 23.98 kB / 1.433 GB, free: 14.63 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005705/1.417, allocations: 0.5068 MB / 1.434 GB, free: 14.13 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.417, allocations: 0 / 1.434 GB, free: 14.13 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000701/1.418, allocations: 200 kB / 1.434 GB, free: 13.94 MB / 1.123 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.0004826/1.418, allocations: 211.7 kB / 1.434 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007602/1.419, allocations: 476.8 kB / 1.435 GB, free: 13.28 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.419, allocations: 0 / 1.435 GB, free: 13.28 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/1.419, allocations: 216.1 kB / 1.435 GB, free: 13.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.421, allocations: 484.2 kB / 1.435 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/1.424, allocations: 1.664 MB / 1.437 GB, free: 10.87 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/1.424, allocations: 1.024 MB / 1.438 GB, free: 9.812 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005494/1.425, allocations: 203 kB / 1.438 GB, free: 9.609 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/1.425, allocations: 59.44 kB / 1.438 GB, free: 9.551 MB / 1.123 GB Notification: Performance of SimCode: time 3.61e-07/1.425, allocations: 7.938 kB / 1.438 GB, free: 9.543 MB / 1.123 GB Notification: Performance of Templates: time 0.02664/1.452, allocations: 15.44 MB / 1.453 GB, free: 10.34 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches