Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001268/0.001268, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001353/0.001353, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.918/2.918, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",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.001974/0.001974, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.893, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2376/1.131, allocations: 194 MB / 1.511 GB, free: 7.27 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01105/1.142, allocations: 5.723 MB / 1.517 GB, free: 1.531 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/1.144, allocations: 59.5 kB / 1.517 GB, free: 1.473 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/1.146, allocations: 0.5903 MB / 1.517 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006395/1.153, allocations: 1.672 MB / 1.519 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/1.157, allocations: 1.218 MB / 1.52 GB, free: 13.99 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004584/1.162, allocations: 2.507 MB / 1.522 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/1.163, allocations: 0.8325 MB / 1.523 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/1.167, allocations: 1.238 MB / 1.524 GB, free: 9.383 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/1.169, allocations: 0.8748 MB / 1.525 GB, free: 8.512 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000448/1.17, allocations: 104 kB / 1.525 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.173, allocations: 1.594 MB / 1.527 GB, free: 6.812 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000886/1.174, allocations: 494.6 kB / 1.527 GB, free: 6.328 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.175, allocations: 0.6222 MB / 1.528 GB, free: 5.703 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004914/1.18, allocations: 2.118 MB / 1.53 GB, free: 3.578 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.18, allocations: 0 / 1.53 GB, free: 3.578 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/1.18, allocations: 0 / 1.53 GB, free: 3.578 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.733e-05/1.18, allocations: 4 kB / 1.53 GB, free: 3.574 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003358/1.184, allocations: 1.509 MB / 1.532 GB, free: 2.008 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/1.184, allocations: 15.98 kB / 1.532 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.469e-05/1.184, allocations: 22 kB / 1.532 GB, free: 1.973 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/1.184, allocations: 135.2 kB / 1.532 GB, free: 1.832 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/1.186, allocations: 346.9 kB / 1.532 GB, free: 1.492 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.188, allocations: 0.8162 MB / 1.533 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/1.188, allocations: 65.98 kB / 1.533 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/1.188, allocations: 83.94 kB / 1.533 GB, free: 500 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.19, allocations: 1.071 MB / 1.534 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.19, allocations: 3.938 kB / 1.534 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/1.19, allocations: 32 kB / 1.534 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/1.19, allocations: 41.98 kB / 1.534 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/1.192, allocations: 0.8275 MB / 1.535 GB, free: 14.47 MB / 1.217 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.006614/1.199, allocations: 4.425 MB / 1.539 GB, free: 9.742 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/1.199, allocations: 358.6 kB / 1.54 GB, free: 9.383 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/1.2, allocations: 200.8 kB / 1.54 GB, free: 9.184 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.2, allocations: 97.09 kB / 1.54 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.2, allocations: 42.56 kB / 1.54 GB, free: 9.02 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.545e-06/1.2, allocations: 4 kB / 1.54 GB, free: 9.016 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002823/1.203, allocations: 1.35 MB / 1.541 GB, free: 7.613 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.203, allocations: 59.34 kB / 1.541 GB, free: 7.543 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.204, allocations: 0.9967 MB / 1.542 GB, free: 6.523 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/1.204, allocations: 37.7 kB / 1.542 GB, free: 6.48 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.205, allocations: 0.5002 MB / 1.543 GB, free: 5.977 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.205, allocations: 146.8 kB / 1.543 GB, free: 5.832 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/1.205, allocations: 122.2 kB / 1.543 GB, free: 5.707 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.205, allocations: 334 kB / 1.543 GB, free: 5.375 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/1.206, allocations: 237.2 kB / 1.544 GB, free: 5.141 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.207, allocations: 421.8 kB / 1.544 GB, free: 4.656 MB / 1.217 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.002656/1.209, allocations: 1.221 MB / 1.545 GB, free: 3.336 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.209, allocations: 0 / 1.545 GB, free: 3.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001521/1.211, allocations: 0.766 MB / 1.546 GB, free: 2.562 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.211, allocations: 13.81 kB / 1.546 GB, free: 2.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.211, allocations: 4 kB / 1.546 GB, free: 2.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.211, allocations: 8 kB / 1.546 GB, free: 2.539 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/1.211, allocations: 152.1 kB / 1.546 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/1.211, allocations: 8 kB / 1.546 GB, free: 2.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/1.212, allocations: 55.94 kB / 1.546 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/1.212, allocations: 28 kB / 1.546 GB, free: 2.301 MB / 1.217 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: 25 * 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 (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.0004988/1.213, allocations: 318.5 kB / 1.547 GB, free: 1.98 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/1.213, allocations: 111.3 kB / 1.547 GB, free: 1.871 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/1.213, allocations: 97.03 kB / 1.547 GB, free: 1.773 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.213, allocations: 4 kB / 1.547 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.213, allocations: 0 / 1.547 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007611/1.214, allocations: 0.6831 MB / 1.547 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.217, allocations: 1.575 MB / 1.549 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.217, allocations: 11.94 kB / 1.549 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/1.217, allocations: 87.89 kB / 1.549 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/1.217, allocations: 4 kB / 1.549 GB, free: 15.22 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/1.217, allocations: 16.44 kB / 1.549 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.217, allocations: 15.94 kB / 1.549 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.217, allocations: 4 kB / 1.549 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.218, allocations: 0.8335 MB / 1.55 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/1.219, allocations: 248.4 kB / 1.55 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/1.219, allocations: 15.94 kB / 1.55 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/1.219, allocations: 38.22 kB / 1.55 GB, free: 13.97 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/1.22, allocations: 35.91 kB / 1.55 GB, free: 13.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/1.22, allocations: 23.98 kB / 1.55 GB, free: 13.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001111/1.221, allocations: 0.7038 MB / 1.551 GB, free: 13.2 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.221, allocations: 0 / 1.551 GB, free: 13.2 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009563/1.222, allocations: 263.9 kB / 1.551 GB, free: 12.94 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001783/1.223, allocations: 1.484 MB / 1.553 GB, free: 11.38 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.224, allocations: 488.8 kB / 1.553 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.224, allocations: 4.062 kB / 1.553 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002695/1.225, allocations: 183.6 kB / 1.553 GB, free: 10.72 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.228, allocations: 0.62 MB / 1.554 GB, free: 10.11 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.24, allocations: 7.636 MB / 1.561 GB, free: 2.094 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008084/1.24, allocations: 1.099 MB / 1.562 GB, free: 0.9648 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000913/1.241, allocations: 248.4 kB / 1.563 GB, free: 0.7188 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.242, allocations: 347.3 kB / 1.563 GB, free: 388 kB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/1.242, allocations: 0 / 1.563 GB, free: 388 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/1.306, allocations: 28.02 MB / 1.59 GB, free: 4.836 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/11.09, allocations: 5.859 kB / 1.59 GB, free: 4.836 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.485180757998023]