Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.00133/0.00133, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.863/2.863, allocations: 469.8 MB / 0.7491 GB, free: 3.023 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.91 kB / 1.073 GB, free: 116 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9369, allocations: 159.1 MB / 1.229 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2319/1.169, allocations: 187.1 MB / 1.411 GB, free: 9.012 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0213/1.19, allocations: 13.03 MB / 1.424 GB, free: 11.95 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/1.192, allocations: 31.81 kB / 1.424 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/1.193, allocations: 417.3 kB / 1.425 GB, free: 11.5 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/1.197, allocations: 0.9175 MB / 1.425 GB, free: 10.58 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/1.199, allocations: 0.7094 MB / 1.426 GB, free: 9.875 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002799/1.202, allocations: 1.501 MB / 1.428 GB, free: 8.371 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.203, allocations: 0.6547 MB / 1.428 GB, free: 7.699 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004814/1.208, allocations: 1.72 MB / 1.43 GB, free: 5.973 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/1.21, allocations: 0.5159 MB / 1.43 GB, free: 5.461 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/1.21, allocations: 52 kB / 1.43 GB, free: 5.41 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/1.212, allocations: 0.8653 MB / 1.431 GB, free: 4.543 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.213, allocations: 287.2 kB / 1.432 GB, free: 4.262 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007522/1.214, allocations: 382 kB / 1.432 GB, free: 3.887 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/1.216, allocations: 1.175 MB / 1.433 GB, free: 2.707 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.216, allocations: 4 kB / 1.433 GB, free: 2.703 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/1.216, allocations: 0 / 1.433 GB, free: 2.703 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.216, allocations: 0 / 1.433 GB, free: 2.703 MB / 1.139 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.002284/1.218, allocations: 1.077 MB / 1.434 GB, free: 1.57 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.219, allocations: 15.97 kB / 1.434 GB, free: 1.555 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/1.219, allocations: 98.52 kB / 1.434 GB, free: 1.449 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.22, allocations: 203.2 kB / 1.434 GB, free: 1.25 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/1.221, allocations: 0.5563 MB / 1.435 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/1.221, allocations: 45.31 kB / 1.435 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/1.221, allocations: 56 kB / 1.435 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/1.223, allocations: 0.7711 MB / 1.436 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/1.223, allocations: 7.938 kB / 1.436 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/1.223, allocations: 31.94 kB / 1.436 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/1.223, allocations: 28.98 kB / 1.436 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.224, allocations: 455.3 kB / 1.436 GB, free: 15.16 MB / 1.154 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.005018/1.229, allocations: 4.394 MB / 1.441 GB, free: 10.54 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/1.229, allocations: 98.55 kB / 1.441 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/1.229, allocations: 83.33 kB / 1.441 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.229, allocations: 93.09 kB / 1.441 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.229, allocations: 38.56 kB / 1.441 GB, free: 10.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 2.786e-06/1.229, allocations: 0 / 1.441 GB, free: 10.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0008224/1.23, allocations: 241 kB / 1.441 GB, free: 9.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/1.23, allocations: 132.5 kB / 1.441 GB, free: 9.758 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.232, allocations: 0.845 MB / 1.442 GB, free: 8.906 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/1.232, allocations: 33.7 kB / 1.442 GB, free: 8.867 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/1.232, allocations: 407.7 kB / 1.443 GB, free: 8.465 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/1.232, allocations: 43.67 kB / 1.443 GB, free: 8.422 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.232, allocations: 89.97 kB / 1.443 GB, free: 8.328 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.233, allocations: 325.9 kB / 1.443 GB, free: 8.004 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/1.233, allocations: 112.7 kB / 1.443 GB, free: 7.895 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/1.234, allocations: 361.7 kB / 1.443 GB, free: 7.426 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/1.234, allocations: 449.8 kB / 1.444 GB, free: 6.879 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.234, allocations: 0 / 1.444 GB, free: 6.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001282/1.236, allocations: 0.4967 MB / 1.444 GB, free: 6.375 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.236, allocations: 8 kB / 1.444 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.236, allocations: 8 kB / 1.444 GB, free: 6.359 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/1.236, allocations: 12 kB / 1.444 GB, free: 6.348 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/1.236, allocations: 100.5 kB / 1.444 GB, free: 6.25 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/1.236, allocations: 15.94 kB / 1.444 GB, free: 6.234 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/1.237, allocations: 119.2 kB / 1.445 GB, free: 6.117 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/1.237, allocations: 27.98 kB / 1.445 GB, free: 6.09 MB / 1.154 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.0003971/1.237, allocations: 230.7 kB / 1.445 GB, free: 5.855 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/1.238, allocations: 75.53 kB / 1.445 GB, free: 5.781 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/1.238, allocations: 74.17 kB / 1.445 GB, free: 5.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.238, allocations: 4 kB / 1.445 GB, free: 5.699 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.238, allocations: 3.938 kB / 1.445 GB, free: 5.695 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.238, allocations: 4.062 kB / 1.445 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.24, allocations: 1.125 MB / 1.446 GB, free: 4.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.24, allocations: 8.031 kB / 1.446 GB, free: 4.469 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/1.24, allocations: 15.98 kB / 1.446 GB, free: 4.453 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.24, allocations: 7.938 kB / 1.446 GB, free: 4.445 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.24, allocations: 4 kB / 1.446 GB, free: 4.441 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/1.24, allocations: 4 kB / 1.446 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.24, allocations: 0 / 1.446 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/1.24, allocations: 272.2 kB / 1.446 GB, free: 4.125 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/1.241, allocations: 172.6 kB / 1.447 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.241, allocations: 8 kB / 1.447 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/1.241, allocations: 15.98 kB / 1.447 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/1.241, allocations: 19.86 kB / 1.447 GB, free: 3.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.241, allocations: 4 kB / 1.447 GB, free: 3.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001063/1.243, allocations: 0.5888 MB / 1.447 GB, free: 3.305 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.31e-07/1.243, allocations: 0 / 1.447 GB, free: 3.305 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007543/1.243, allocations: 155.8 kB / 1.447 GB, free: 3.152 MB / 1.154 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.001231/1.245, allocations: 0.9011 MB / 1.448 GB, free: 2.215 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006616/1.245, allocations: 241.2 kB / 1.448 GB, free: 1.98 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.245, allocations: 0 / 1.448 GB, free: 1.98 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/1.245, allocations: 51.84 kB / 1.448 GB, free: 1.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.247, allocations: 371.8 kB / 1.449 GB, free: 1.574 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/1.256, allocations: 5.466 MB / 1.454 GB, free: 11.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/1.257, allocations: 0.937 MB / 1.455 GB, free: 10.79 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000646/1.257, allocations: 158.1 kB / 1.455 GB, free: 10.63 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/1.258, allocations: 227.9 kB / 1.455 GB, free: 10.41 MB / 1.17 GB Notification: Performance of SimCode: time 4.298e-06/1.258, allocations: 7.938 kB / 1.455 GB, free: 10.4 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/1.31, allocations: 17.97 MB / 1.473 GB, free: 8.797 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.545/10.86, allocations: 18.53 kB / 1.473 GB, free: 8.781 MB / 1.186 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.082983016967773]