Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 63.89 kB / 1.056 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8485, allocations: 160.7 MB / 1.213 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.254/1.103, allocations: 191.1 MB / 1.4 GB, free: 8.348 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01073/1.113, allocations: 5.724 MB / 1.405 GB, free: 2.609 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/1.115, allocations: 39.81 kB / 1.405 GB, free: 2.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/1.117, allocations: 0.5981 MB / 1.406 GB, free: 1.969 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/1.122, allocations: 1.902 MB / 1.408 GB, free: 60 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/1.125, allocations: 1.187 MB / 1.409 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00417/1.129, allocations: 2.952 MB / 1.412 GB, free: 11.92 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/1.131, allocations: 0.9408 MB / 1.413 GB, free: 10.96 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/1.133, allocations: 1.117 MB / 1.414 GB, free: 9.836 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/1.135, allocations: 1.034 MB / 1.415 GB, free: 8.805 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/1.135, allocations: 120 kB / 1.415 GB, free: 8.688 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/1.138, allocations: 1.535 MB / 1.416 GB, free: 7.148 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006766/1.139, allocations: 0.5765 MB / 1.417 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009071/1.14, allocations: 0.7195 MB / 1.418 GB, free: 5.848 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003719/1.143, allocations: 2.352 MB / 1.42 GB, free: 3.488 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.143, allocations: 0 / 1.42 GB, free: 3.488 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/1.143, allocations: 0 / 1.42 GB, free: 3.488 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.128e-05/1.143, allocations: 0 / 1.42 GB, free: 3.488 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003024/1.146, allocations: 1.657 MB / 1.422 GB, free: 1.773 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.147, allocations: 12.92 kB / 1.422 GB, free: 1.762 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/1.147, allocations: 152.2 kB / 1.422 GB, free: 1.605 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/1.149, allocations: 334.9 kB / 1.422 GB, free: 1.277 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/1.151, allocations: 0.9144 MB / 1.423 GB, free: 328 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/1.151, allocations: 74 kB / 1.423 GB, free: 256 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/1.151, allocations: 107.9 kB / 1.423 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/1.153, allocations: 1.089 MB / 1.424 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.153, allocations: 0 / 1.424 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.153, allocations: 40 kB / 1.424 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/1.153, allocations: 41.98 kB / 1.424 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/1.155, allocations: 0.9876 MB / 1.425 GB, free: 13.98 MB / 1.139 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.007037/1.162, allocations: 4.238 MB / 1.429 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/1.163, allocations: 0.563 MB / 1.43 GB, free: 8.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/1.163, allocations: 333.5 kB / 1.43 GB, free: 8.551 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/1.164, allocations: 105.5 kB / 1.43 GB, free: 8.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/1.164, allocations: 47 kB / 1.43 GB, free: 8.375 MB / 1.139 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/1.164, allocations: 0 / 1.43 GB, free: 8.375 MB / 1.139 GB Notification: Performance of matching and sorting (n=55): time 0.004571/1.168, allocations: 2.21 MB / 1.432 GB, free: 6.051 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.168, allocations: 59.91 kB / 1.433 GB, free: 5.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.17, allocations: 0.8882 MB / 1.433 GB, free: 5.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/1.17, allocations: 37.7 kB / 1.433 GB, free: 5.039 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/1.17, allocations: 0.5196 MB / 1.434 GB, free: 4.512 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.17, allocations: 206.2 kB / 1.434 GB, free: 4.309 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.171, allocations: 138.6 kB / 1.434 GB, free: 4.168 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.171, allocations: 330 kB / 1.435 GB, free: 3.84 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.171, allocations: 285.8 kB / 1.435 GB, free: 3.562 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/1.172, allocations: 436.9 kB / 1.435 GB, free: 3.086 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/1.176, allocations: 1.747 MB / 1.437 GB, free: 1.266 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.176, allocations: 0 / 1.437 GB, free: 1.266 MB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001726/1.178, allocations: 0.9262 MB / 1.438 GB, free: 336 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.178, allocations: 4 kB / 1.438 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.178, allocations: 8.438 kB / 1.438 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/1.178, allocations: 102.5 kB / 1.438 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/1.179, allocations: 163.7 kB / 1.438 GB, free: 48 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/1.183, allocations: 4.641 MB / 1.443 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/1.184, allocations: 27.94 kB / 1.443 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/1.184, allocations: 28 kB / 1.443 GB, free: 10.93 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006193/1.185, allocations: 349.6 kB / 1.443 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.185, allocations: 103.4 kB / 1.443 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/1.185, allocations: 109.2 kB / 1.443 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.185, allocations: 4 kB / 1.443 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.185, allocations: 0 / 1.443 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/1.187, allocations: 0.7653 MB / 1.444 GB, free: 9.543 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/1.19, allocations: 1.992 MB / 1.446 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.19, allocations: 11.94 kB / 1.446 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/1.191, allocations: 144.2 kB / 1.446 GB, free: 7.297 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/1.191, allocations: 44.81 kB / 1.446 GB, free: 7.25 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/1.191, allocations: 16 kB / 1.446 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.193, allocations: 1.602 MB / 1.448 GB, free: 5.492 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.193, allocations: 7.984 kB / 1.448 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.194, allocations: 1.212 MB / 1.449 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/1.195, allocations: 268.3 kB / 1.449 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.195, allocations: 8 kB / 1.449 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/1.196, allocations: 34.02 kB / 1.449 GB, free: 3.895 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.196, allocations: 47.88 kB / 1.449 GB, free: 3.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/1.196, allocations: 31.98 kB / 1.449 GB, free: 3.816 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008651/1.197, allocations: 0.6122 MB / 1.45 GB, free: 3.211 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.197, allocations: 0 / 1.45 GB, free: 3.211 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009988/1.198, allocations: 304 kB / 1.45 GB, free: 2.914 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002645/1.201, allocations: 1.848 MB / 1.452 GB, free: 1.004 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.202, allocations: 0.9944 MB / 1.453 GB, free: 15.96 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.202, allocations: 4 kB / 1.453 GB, free: 15.96 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006768/1.203, allocations: 427.8 kB / 1.453 GB, free: 15.53 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.206, allocations: 0.6591 MB / 1.454 GB, free: 14.89 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.218, allocations: 7.961 MB / 1.462 GB, free: 6.609 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009904/1.219, allocations: 1.174 MB / 1.463 GB, free: 5.402 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001023/1.22, allocations: 248.4 kB / 1.463 GB, free: 5.156 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/1.221, allocations: 383.3 kB / 1.464 GB, free: 4.781 MB / 1.17 GB Notification: Performance of SimCode: time 1.212e-06/1.221, allocations: 4 kB / 1.464 GB, free: 4.777 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08055/1.301, allocations: 30.62 MB / 1.493 GB, free: 6.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.29, allocations: 23.78 kB / 1.493 GB, free: 6.609 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 21.27435946557671]