Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009545/0.009552, allocations: 102.3 kB / 15.73 MB, free: 6.496 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.001799/0.001799, allocations: 198.6 kB / 16.68 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.41 kB / 0.9509 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3075, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 1.007/1.315, allocations: 187.1 MB / 1.271 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01735/1.332, allocations: 13.03 MB / 1.283 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/1.334, allocations: 29.81 kB / 1.283 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/1.335, allocations: 424.4 kB / 1.284 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/1.338, allocations: 0.9636 MB / 1.285 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/1.341, allocations: 0.7126 MB / 1.285 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002528/1.343, allocations: 1.503 MB / 1.287 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/1.345, allocations: 0.6541 MB / 1.288 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/1.349, allocations: 1.779 MB / 1.289 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.351, allocations: 0.5019 MB / 1.29 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/1.351, allocations: 58.23 kB / 1.29 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/1.354, allocations: 0.8818 MB / 1.291 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/1.354, allocations: 276.9 kB / 1.291 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005918/1.355, allocations: 386.7 kB / 1.291 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/1.357, allocations: 1.17 MB / 1.292 GB, free: 3.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.357, allocations: 1.188 kB / 1.292 GB, free: 3.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.325e-06/1.357, allocations: 0.875 kB / 1.292 GB, free: 3.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.702e-05/1.357, allocations: 0 / 1.292 GB, free: 3.117 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001609/1.359, allocations: 1.049 MB / 1.293 GB, free: 2.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.359, allocations: 12.28 kB / 1.294 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/1.36, allocations: 185.6 kB / 1.294 GB, free: 2.422 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/1.361, allocations: 0.5565 MB / 1.294 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/1.361, allocations: 44.22 kB / 1.294 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/1.361, allocations: 56.47 kB / 1.294 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.362, allocations: 0.7755 MB / 1.295 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.362, allocations: 5.312 kB / 1.295 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/1.362, allocations: 25.62 kB / 1.295 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/1.362, allocations: 28.39 kB / 1.295 GB, free: 1.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/1.363, allocations: 459.6 kB / 1.296 GB, free: 1.82 MB / 1.014 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.003911/1.367, allocations: 4.38 MB / 1.3 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/1.367, allocations: 104.1 kB / 1.3 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.367, allocations: 85.55 kB / 1.3 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/1.367, allocations: 92.27 kB / 1.3 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.367, allocations: 40.38 kB / 1.3 GB, free: 14.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/1.367, allocations: 0 / 1.3 GB, free: 14.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000664/1.368, allocations: 243.7 kB / 1.3 GB, free: 14.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.368, allocations: 134.2 kB / 1.301 GB, free: 13.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.369, allocations: 0.8425 MB / 1.301 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/1.369, allocations: 30.55 kB / 1.301 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.37, allocations: 403.7 kB / 1.302 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/1.37, allocations: 41.48 kB / 1.302 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/1.37, allocations: 90.52 kB / 1.302 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.37, allocations: 322.2 kB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/1.37, allocations: 108.5 kB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/1.371, allocations: 364.8 kB / 1.303 GB, free: 12.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/1.371, allocations: 443.5 kB / 1.303 GB, free: 12.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.371, allocations: 2.594 kB / 1.303 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000913/1.372, allocations: 0.4977 MB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.372, allocations: 10.55 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.372, allocations: 9 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.372, allocations: 11.22 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/1.373, allocations: 98.03 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/1.373, allocations: 16.69 kB / 1.304 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/1.373, allocations: 113.9 kB / 1.304 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/1.373, allocations: 25.94 kB / 1.304 GB, free: 12.6 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002719/1.374, allocations: 232.2 kB / 1.304 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.374, allocations: 81.16 kB / 1.304 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/1.374, allocations: 70.56 kB / 1.304 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.374, allocations: 3.281 kB / 1.304 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.374, allocations: 1.031 kB / 1.304 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.374, allocations: 3.078 kB / 1.304 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.375, allocations: 1.117 MB / 1.305 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.375, allocations: 3.031 kB / 1.305 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/1.375, allocations: 21.05 kB / 1.305 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.375, allocations: 3.25 kB / 1.305 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/1.375, allocations: 12.34 kB / 1.305 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.376, allocations: 4.859 kB / 1.305 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.376, allocations: 6.594 kB / 1.305 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/1.376, allocations: 261.7 kB / 1.306 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/1.376, allocations: 175.4 kB / 1.306 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/1.376, allocations: 9.625 kB / 1.306 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.376, allocations: 20.58 kB / 1.306 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/1.376, allocations: 12.5 kB / 1.306 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/1.377, allocations: 8.656 kB / 1.306 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007923/1.377, allocations: 0.5903 MB / 1.306 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.377, allocations: 0 / 1.306 GB, free: 11.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006443/1.378, allocations: 155.1 kB / 1.307 GB, free: 11.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0004636/1.378, allocations: 184.9 kB / 1.307 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005237/1.379, allocations: 243 kB / 1.307 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.379, allocations: 1.312 kB / 1.307 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/1.379, allocations: 48.08 kB / 1.307 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.381, allocations: 382 kB / 1.307 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/1.382, allocations: 1.061 MB / 1.308 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.383, allocations: 0.938 MB / 1.309 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000507/1.383, allocations: 150.1 kB / 1.309 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.383, allocations: 49.22 kB / 1.309 GB, free: 9.926 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.383, allocations: 0.5938 kB / 1.309 GB, free: 9.926 MB / 1.029 GB Notification: Performance of Templates: time 0.02661/1.41, allocations: 11.82 MB / 1.321 GB, free: 9.227 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches