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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001207/0.001207, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001089/0.001089, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.424/2.424, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.86 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2669, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6241/0.891, allocations: 187.3 MB / 1.21 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.906, allocations: 13.07 MB / 1.222 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.9081, allocations: 32.41 kB / 1.222 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.9095, allocations: 427.7 kB / 1.223 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.9123, allocations: 1.16 MB / 1.224 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.914, allocations: 0.7078 MB / 1.225 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.9161, allocations: 2.018 MB / 1.227 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009434/0.9171, allocations: 0.8326 MB / 1.227 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.9207, allocations: 1.815 MB / 1.229 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.922, allocations: 0.6704 MB / 1.23 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.9221, allocations: 80 kB / 1.23 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.9237, allocations: 0.8692 MB / 1.231 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.9241, allocations: 383 kB / 1.231 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.9245, allocations: 0.5054 MB / 1.232 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.9262, allocations: 1.495 MB / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9262, allocations: 0 / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9262, allocations: 0 / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.9262, allocations: 0 / 1.233 GB, free: 10 MB / 0.9356 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.001659/0.9279, allocations: 1.239 MB / 1.234 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.9279, allocations: 12.03 kB / 1.234 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.9291, allocations: 218.6 kB / 1.235 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.9302, allocations: 0.6754 MB / 1.235 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.9303, allocations: 58 kB / 1.235 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9304, allocations: 80 kB / 1.235 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.9316, allocations: 0.9365 MB / 1.236 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.9317, allocations: 7.938 kB / 1.236 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.519e-05/0.9317, allocations: 28 kB / 1.236 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.9318, allocations: 37.25 kB / 1.236 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009257/0.9327, allocations: 0.6099 MB / 1.237 GB, free: 5.93 MB / 0.9356 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.003942/0.9367, allocations: 4.583 MB / 1.241 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.9374, allocations: 0.5369 MB / 1.242 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.9378, allocations: 250.3 kB / 1.242 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.9379, allocations: 101.1 kB / 1.242 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.938, allocations: 42.56 kB / 1.242 GB, free: 52 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 1.673e-06/0.938, allocations: 0 / 1.242 GB, free: 52 kB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.002511/0.9405, allocations: 1.586 MB / 1.244 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.9406, allocations: 110.8 kB / 1.244 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.9413, allocations: 0.7155 MB / 1.245 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.9414, allocations: 37.7 kB / 1.245 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.9417, allocations: 415.8 kB / 1.245 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.9418, allocations: 165.6 kB / 1.245 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.942, allocations: 118.2 kB / 1.245 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.9421, allocations: 330 kB / 1.246 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.9424, allocations: 189.2 kB / 1.246 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.9428, allocations: 417 kB / 1.246 GB, free: 11.79 MB / 0.9512 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.002182/0.945, allocations: 1.19 MB / 1.247 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.945, allocations: 0.875 kB / 1.247 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009585/0.946, allocations: 0.6606 MB / 1.248 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.946, allocations: 11.94 kB / 1.248 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.9461, allocations: 12.02 kB / 1.248 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9461, allocations: 12 kB / 1.248 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.9465, allocations: 127.8 kB / 1.248 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.9466, allocations: 12 kB / 1.248 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.9471, allocations: 27.95 kB / 1.248 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.9472, allocations: 28 kB / 1.248 GB, free: 9.602 MB / 0.9512 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.0003269/0.9475, allocations: 278.3 kB / 1.249 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.9477, allocations: 83 kB / 1.249 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.9478, allocations: 99.66 kB / 1.249 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9479, allocations: 7.938 kB / 1.249 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9479, allocations: 0 / 1.249 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006669/0.9485, allocations: 0.695 MB / 1.249 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.9508, allocations: 1.647 MB / 1.251 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.9509, allocations: 4 kB / 1.251 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.9513, allocations: 107.8 kB / 1.251 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.9513, allocations: 7.938 kB / 1.251 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.9514, allocations: 12 kB / 1.251 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.9514, allocations: 8 kB / 1.251 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.9514, allocations: 7.938 kB / 1.251 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.9524, allocations: 0.8725 MB / 1.252 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.9527, allocations: 200.1 kB / 1.252 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9529, allocations: 23.94 kB / 1.252 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.9533, allocations: 17.73 kB / 1.252 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.9534, allocations: 43.83 kB / 1.252 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.9534, allocations: 16 kB / 1.252 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005793/0.954, allocations: 0.5146 MB / 1.253 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.954, allocations: 4 kB / 1.253 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006817/0.9547, allocations: 200 kB / 1.253 GB, free: 4.496 MB / 0.9512 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.0004106/0.9551, allocations: 193.2 kB / 1.253 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.9559, allocations: 491.9 kB / 1.254 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9559, allocations: 0 / 1.254 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.9562, allocations: 209.2 kB / 1.254 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.9581, allocations: 481.2 kB / 1.254 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.9604, allocations: 1.648 MB / 1.256 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.961, allocations: 1.032 MB / 1.257 GB, free: 388 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005428/0.9615, allocations: 199 kB / 1.257 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.9617, allocations: 63.42 kB / 1.257 GB, free: 124 kB / 0.9512 GB Notification: Performance of SimCode: time 1.744e-06/0.9617, allocations: 0 / 1.257 GB, free: 124 kB / 0.9512 GB Notification: Performance of Templates: time 0.02425/0.9859, allocations: 15.04 MB / 1.272 GB, free: 1.316 MB / 0.9669 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches