Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005068/0.005068, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001391/0.001391, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.583/2.583, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.84 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9741/0.9755, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1967/1.172, allocations: 187.3 MB / 1.39 GB, free: 1.562 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01625/1.189, allocations: 13.07 MB / 1.403 GB, free: 4.457 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/1.19, allocations: 35.81 kB / 1.403 GB, free: 4.422 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.191, allocations: 433.1 kB / 1.403 GB, free: 3.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/1.195, allocations: 1.155 MB / 1.405 GB, free: 2.836 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/1.197, allocations: 0.7029 MB / 1.405 GB, free: 2.137 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002862/1.2, allocations: 2.019 MB / 1.407 GB, free: 112 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/1.201, allocations: 0.8511 MB / 1.408 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/1.205, allocations: 1.829 MB / 1.41 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.207, allocations: 0.6583 MB / 1.41 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/1.208, allocations: 80 kB / 1.411 GB, free: 12.67 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/1.21, allocations: 0.8692 MB / 1.411 GB, free: 11.8 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/1.21, allocations: 395 kB / 1.412 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009866/1.211, allocations: 0.4899 MB / 1.412 GB, free: 10.92 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/1.214, allocations: 1.499 MB / 1.414 GB, free: 9.414 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.214, allocations: 4 kB / 1.414 GB, free: 9.41 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.693e-06/1.214, allocations: 0 / 1.414 GB, free: 9.41 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.904e-05/1.214, allocations: 0 / 1.414 GB, free: 9.41 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0028/1.217, allocations: 1.243 MB / 1.415 GB, free: 8.113 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.217, allocations: 8.031 kB / 1.415 GB, free: 8.105 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/1.217, allocations: 122.5 kB / 1.415 GB, free: 7.977 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/1.219, allocations: 214.6 kB / 1.415 GB, free: 7.766 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.22, allocations: 0.6831 MB / 1.416 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/1.22, allocations: 58 kB / 1.416 GB, free: 6.984 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.22, allocations: 83.98 kB / 1.416 GB, free: 6.902 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.222, allocations: 0.9249 MB / 1.417 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.222, allocations: 3.938 kB / 1.417 GB, free: 5.891 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/1.222, allocations: 43.94 kB / 1.417 GB, free: 5.848 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.001e-05/1.222, allocations: 33.3 kB / 1.417 GB, free: 5.816 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.223, allocations: 0.6099 MB / 1.418 GB, free: 5.203 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.005086/1.228, allocations: 4.575 MB / 1.422 GB, free: 340 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/1.229, allocations: 0.5507 MB / 1.423 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/1.23, allocations: 248.9 kB / 1.423 GB, free: 15.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/1.23, allocations: 101.1 kB / 1.423 GB, free: 15.37 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/1.23, allocations: 38.56 kB / 1.423 GB, free: 15.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.245e-06/1.23, allocations: 0 / 1.423 GB, free: 15.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.003048/1.233, allocations: 1.595 MB / 1.425 GB, free: 13.67 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/1.233, allocations: 118.7 kB / 1.425 GB, free: 13.53 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/1.234, allocations: 0.7038 MB / 1.425 GB, free: 12.82 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/1.234, allocations: 41.64 kB / 1.425 GB, free: 12.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/1.234, allocations: 424 kB / 1.426 GB, free: 12.35 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.234, allocations: 157.7 kB / 1.426 GB, free: 12.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/1.235, allocations: 122.2 kB / 1.426 GB, free: 12.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.235, allocations: 330 kB / 1.426 GB, free: 11.74 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/1.235, allocations: 185.2 kB / 1.427 GB, free: 11.56 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/1.236, allocations: 421 kB / 1.427 GB, free: 11.05 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/1.238, allocations: 1.168 MB / 1.428 GB, free: 9.777 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.238, allocations: 7.938 kB / 1.428 GB, free: 9.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001135/1.239, allocations: 0.6792 MB / 1.429 GB, free: 9.082 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.239, allocations: 4 kB / 1.429 GB, free: 9.078 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.239, allocations: 8 kB / 1.429 GB, free: 9.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.239, allocations: 8 kB / 1.429 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/1.24, allocations: 127.8 kB / 1.429 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.24, allocations: 15.92 kB / 1.429 GB, free: 8.922 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/1.241, allocations: 28.44 kB / 1.429 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/1.241, allocations: 31.98 kB / 1.429 GB, free: 8.863 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0005211/1.241, allocations: 269.6 kB / 1.429 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/1.242, allocations: 86.98 kB / 1.429 GB, free: 8.504 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/1.242, allocations: 87.67 kB / 1.429 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.242, allocations: 4 kB / 1.429 GB, free: 8.41 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.242, allocations: 0 / 1.429 GB, free: 8.41 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007858/1.243, allocations: 0.7041 MB / 1.43 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/1.245, allocations: 1.635 MB / 1.432 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.245, allocations: 4 kB / 1.432 GB, free: 5.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/1.246, allocations: 112.2 kB / 1.432 GB, free: 5.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/1.246, allocations: 8 kB / 1.432 GB, free: 5.758 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/1.246, allocations: 12 kB / 1.432 GB, free: 5.746 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.246, allocations: 8 kB / 1.432 GB, free: 5.738 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.246, allocations: 12 kB / 1.432 GB, free: 5.727 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.247, allocations: 0.8616 MB / 1.433 GB, free: 4.801 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/1.248, allocations: 204.1 kB / 1.433 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/1.248, allocations: 20.08 kB / 1.433 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/1.248, allocations: 12 kB / 1.433 GB, free: 4.551 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/1.248, allocations: 51.81 kB / 1.433 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.248, allocations: 16 kB / 1.433 GB, free: 4.484 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006493/1.249, allocations: 0.5107 MB / 1.433 GB, free: 3.98 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.81e-07/1.249, allocations: 0 / 1.433 GB, free: 3.98 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008161/1.25, allocations: 196 kB / 1.434 GB, free: 3.789 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001758/1.252, allocations: 1.508 MB / 1.435 GB, free: 2.223 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000837/1.252, allocations: 480.5 kB / 1.436 GB, free: 1.754 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.252, allocations: 4.438 kB / 1.436 GB, free: 1.75 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/1.253, allocations: 211.7 kB / 1.436 GB, free: 1.543 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/1.255, allocations: 490.8 kB / 1.436 GB, free: 1.074 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/1.264, allocations: 6.605 MB / 1.443 GB, free: 10.08 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/1.265, allocations: 1.028 MB / 1.444 GB, free: 9.02 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007232/1.265, allocations: 207 kB / 1.444 GB, free: 8.812 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/1.266, allocations: 299.3 kB / 1.444 GB, free: 8.52 MB / 1.17 GB Notification: Performance of SimCode: time 1.031e-06/1.266, allocations: 0 / 1.444 GB, free: 8.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05206/1.318, allocations: 22.59 MB / 1.466 GB, free: 2.352 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/10.44, allocations: 8.422 kB / 1.466 GB, free: 2.344 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches