Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001734/0.001734, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002083/0.002083, allocations: 216.3 kB / 22.25 MB, free: 5.105 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.92/2.92, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [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.002007/0.002007, allocations: 62.16 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1957/0.5154, allocations: 165.5 MB / 1.487 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.5311, allocations: 11.98 MB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.5321, allocations: 39.69 kB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5333, allocations: 413.3 kB / 1.5 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.5356, allocations: 0.9488 MB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.5375, allocations: 0.7379 MB / 1.501 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.5397, allocations: 1.528 MB / 1.503 GB, free: 11.69 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.5405, allocations: 0.5068 MB / 1.503 GB, free: 11.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.5445, allocations: 1.864 MB / 1.505 GB, free: 9.289 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.5458, allocations: 0.5295 MB / 1.506 GB, free: 8.766 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.5459, allocations: 52 kB / 1.506 GB, free: 8.715 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.5473, allocations: 0.7366 MB / 1.506 GB, free: 7.977 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.5476, allocations: 275.2 kB / 1.507 GB, free: 7.707 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.548, allocations: 318.5 kB / 1.507 GB, free: 7.395 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.5495, allocations: 1.167 MB / 1.508 GB, free: 6.223 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5495, allocations: 4 kB / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5495, allocations: 0 / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5496, allocations: 3.938 kB / 1.508 GB, free: 6.215 MB / 1.201 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.00148/0.551, allocations: 1.006 MB / 1.509 GB, free: 5.172 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5511, allocations: 16.03 kB / 1.509 GB, free: 5.156 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.5512, allocations: 98.52 kB / 1.509 GB, free: 5.051 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.5521, allocations: 199.3 kB / 1.509 GB, free: 4.855 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.553, allocations: 499.8 kB / 1.51 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.5531, allocations: 41.31 kB / 1.51 GB, free: 4.301 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.5532, allocations: 60 kB / 1.51 GB, free: 4.242 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5543, allocations: 0.7923 MB / 1.511 GB, free: 3.336 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5544, allocations: 7.938 kB / 1.511 GB, free: 3.328 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.5544, allocations: 27.94 kB / 1.511 GB, free: 3.301 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.5544, allocations: 24.98 kB / 1.511 GB, free: 3.277 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.5553, allocations: 455.9 kB / 1.511 GB, free: 2.832 MB / 1.201 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.003862/0.5592, allocations: 4.01 MB / 1.515 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.5593, allocations: 98.36 kB / 1.515 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.5594, allocations: 71.58 kB / 1.515 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.5596, allocations: 23.98 kB / 1.515 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5596, allocations: 34.5 kB / 1.515 GB, free: 14.37 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.5596, allocations: 0 / 1.515 GB, free: 14.37 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006408/0.5602, allocations: 253.5 kB / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.5603, allocations: 132.5 kB / 1.516 GB, free: 13.95 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.5615, allocations: 0.8524 MB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5615, allocations: 25.7 kB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.5618, allocations: 411.7 kB / 1.517 GB, free: 12.65 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.5619, allocations: 47.73 kB / 1.517 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.562, allocations: 93.92 kB / 1.517 GB, free: 12.51 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5621, allocations: 325.9 kB / 1.517 GB, free: 12.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.5624, allocations: 108.7 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.563, allocations: 0.5123 MB / 1.518 GB, free: 11.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.5636, allocations: 445.5 kB / 1.518 GB, free: 10.87 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5636, allocations: 4 kB / 1.518 GB, free: 10.87 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009485/0.5646, allocations: 0.4892 MB / 1.519 GB, free: 10.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.5646, allocations: 12 kB / 1.519 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5646, allocations: 4 kB / 1.519 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.5646, allocations: 12 kB / 1.519 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.5649, allocations: 99.81 kB / 1.519 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.565, allocations: 16.34 kB / 1.519 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/0.5656, allocations: 119.2 kB / 1.519 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.5656, allocations: 27.98 kB / 1.519 GB, free: 10.09 MB / 1.217 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.0002526/0.5659, allocations: 225.6 kB / 1.519 GB, free: 9.855 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.566, allocations: 79.53 kB / 1.519 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.5661, allocations: 78.2 kB / 1.52 GB, free: 9.695 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5661, allocations: 0 / 1.52 GB, free: 9.695 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.5662, allocations: 4.125 kB / 1.52 GB, free: 9.691 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5662, allocations: 3.938 kB / 1.52 GB, free: 9.688 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.5675, allocations: 1.046 MB / 1.521 GB, free: 8.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5675, allocations: 8.062 kB / 1.521 GB, free: 8.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.5676, allocations: 15.98 kB / 1.521 GB, free: 8.535 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.5676, allocations: 4 kB / 1.521 GB, free: 8.531 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5676, allocations: 4 kB / 1.521 GB, free: 8.527 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5676, allocations: 4 kB / 1.521 GB, free: 8.523 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5676, allocations: 3.938 kB / 1.521 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.568, allocations: 272.2 kB / 1.521 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.5682, allocations: 95.48 kB / 1.521 GB, free: 8.113 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.5683, allocations: 4 kB / 1.521 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.5686, allocations: 19.98 kB / 1.521 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.5686, allocations: 19.86 kB / 1.521 GB, free: 8.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5686, allocations: 4 kB / 1.521 GB, free: 8.066 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008036/0.5694, allocations: 0.5849 MB / 1.522 GB, free: 7.484 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5694, allocations: 4 kB / 1.522 GB, free: 7.48 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005512/0.57, allocations: 159.8 kB / 1.522 GB, free: 7.324 MB / 1.217 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.0009142/0.5709, allocations: 0.8775 MB / 1.523 GB, free: 6.402 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.5714, allocations: 236.8 kB / 1.523 GB, free: 6.172 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5714, allocations: 0 / 1.523 GB, free: 6.172 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.5715, allocations: 52.72 kB / 1.523 GB, free: 6.121 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.573, allocations: 371.8 kB / 1.523 GB, free: 5.766 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.5803, allocations: 5.478 MB / 1.529 GB, free: 15.94 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5807, allocations: 340.6 kB / 1.529 GB, free: 15.58 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.5812, allocations: 150.1 kB / 1.529 GB, free: 15.43 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.5815, allocations: 235.3 kB / 1.529 GB, free: 15.2 MB / 1.232 GB Notification: Performance of SimCode: time 8.02e-07/0.5815, allocations: 0 / 1.529 GB, free: 15.2 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.6339, allocations: 20.22 MB / 1.549 GB, free: 11.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.36, allocations: 6.578 kB / 1.549 GB, free: 11.47 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 17.465337328991154]