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.008159/0.008159, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001891/0.001891, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3674, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.9625/1.33, allocations: 187.3 MB / 1.39 GB, free: 1.922 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01745/1.347, allocations: 13.07 MB / 1.403 GB, free: 7.336 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/1.349, allocations: 32.41 kB / 1.403 GB, free: 7.324 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/1.351, allocations: 424.7 kB / 1.403 GB, free: 6.969 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/1.354, allocations: 1.156 MB / 1.405 GB, free: 6.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/1.356, allocations: 0.7036 MB / 1.405 GB, free: 5.516 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00312/1.359, allocations: 2.025 MB / 1.407 GB, free: 4.348 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/1.361, allocations: 0.8493 MB / 1.408 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004705/1.366, allocations: 1.819 MB / 1.41 GB, free: 2.645 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/1.368, allocations: 0.6717 MB / 1.41 GB, free: 2.242 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/1.368, allocations: 79.38 kB / 1.411 GB, free: 2.242 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/1.37, allocations: 0.8765 MB / 1.411 GB, free: 1.781 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/1.371, allocations: 383.5 kB / 1.412 GB, free: 1.531 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.372, allocations: 0.4967 MB / 1.412 GB, free: 1.207 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.374, allocations: 1.496 MB / 1.414 GB, free: 236 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.375, allocations: 0 / 1.414 GB, free: 236 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.814e-06/1.375, allocations: 0 / 1.414 GB, free: 236 kB / 1.092 GB Notification: Performance of Transformations before backend: time 4.708e-05/1.375, allocations: 1.781 kB / 1.414 GB, free: 236 kB / 1.092 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.002304/1.377, allocations: 1.232 MB / 1.415 GB, free: 15.26 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.377, allocations: 10.69 kB / 1.415 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/1.377, allocations: 125.7 kB / 1.415 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.378, allocations: 217.6 kB / 1.415 GB, free: 15.05 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.38, allocations: 0.6826 MB / 1.416 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/1.38, allocations: 63 kB / 1.416 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.38, allocations: 78.42 kB / 1.416 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.381, allocations: 0.9297 MB / 1.417 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/1.381, allocations: 7.156 kB / 1.417 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/1.381, allocations: 31.34 kB / 1.417 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/1.381, allocations: 27.94 kB / 1.417 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.383, allocations: 0.6187 MB / 1.418 GB, free: 13.46 MB / 1.107 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.005742/1.388, allocations: 4.574 MB / 1.422 GB, free: 9.258 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.389, allocations: 0.5551 MB / 1.423 GB, free: 8.871 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/1.39, allocations: 239.2 kB / 1.423 GB, free: 8.746 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/1.39, allocations: 104.3 kB / 1.423 GB, free: 8.641 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/1.39, allocations: 43.19 kB / 1.423 GB, free: 8.594 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/1.39, allocations: 0 / 1.423 GB, free: 8.594 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.003197/1.393, allocations: 1.583 MB / 1.425 GB, free: 7.562 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.393, allocations: 116.5 kB / 1.425 GB, free: 7.43 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/1.394, allocations: 0.7125 MB / 1.425 GB, free: 7.02 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/1.394, allocations: 39.39 kB / 1.425 GB, free: 6.98 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.395, allocations: 425.9 kB / 1.426 GB, free: 6.609 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.395, allocations: 153.9 kB / 1.426 GB, free: 6.477 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/1.395, allocations: 120.3 kB / 1.426 GB, free: 6.402 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.395, allocations: 329.4 kB / 1.426 GB, free: 6.082 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/1.395, allocations: 190.5 kB / 1.427 GB, free: 5.984 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/1.396, allocations: 418.1 kB / 1.427 GB, free: 5.504 MB / 1.107 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.002279/1.398, allocations: 1.175 MB / 1.428 GB, free: 4.227 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.398, allocations: 7.984 kB / 1.428 GB, free: 4.219 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001011/1.399, allocations: 0.6719 MB / 1.429 GB, free: 3.539 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.399, allocations: 11.94 kB / 1.429 GB, free: 3.527 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.399, allocations: 8.031 kB / 1.429 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.399, allocations: 12 kB / 1.429 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/1.4, allocations: 131.8 kB / 1.429 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.4, allocations: 12 kB / 1.429 GB, free: 3.367 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/1.4, allocations: 28.95 kB / 1.429 GB, free: 3.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/1.4, allocations: 24 kB / 1.429 GB, free: 3.316 MB / 1.107 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.000377/1.401, allocations: 273.5 kB / 1.429 GB, free: 3.039 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.401, allocations: 83 kB / 1.429 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/1.401, allocations: 99.66 kB / 1.429 GB, free: 2.855 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.401, allocations: 4 kB / 1.429 GB, free: 2.852 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.401, allocations: 0 / 1.429 GB, free: 2.852 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007135/1.402, allocations: 0.7003 MB / 1.43 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.404, allocations: 1.64 MB / 1.432 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.404, allocations: 4 kB / 1.432 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/1.405, allocations: 99.83 kB / 1.432 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.405, allocations: 7.938 kB / 1.432 GB, free: 216 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/1.405, allocations: 12 kB / 1.432 GB, free: 204 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.405, allocations: 11.98 kB / 1.432 GB, free: 192 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.405, allocations: 7.938 kB / 1.432 GB, free: 184 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.406, allocations: 0.8614 MB / 1.433 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/1.406, allocations: 208.1 kB / 1.433 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.406, allocations: 20.88 kB / 1.433 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/1.407, allocations: 15.98 kB / 1.433 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/1.407, allocations: 35.84 kB / 1.433 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/1.407, allocations: 27.92 kB / 1.433 GB, free: 14.93 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006345/1.408, allocations: 0.5068 MB / 1.433 GB, free: 14.43 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.408, allocations: 4 kB / 1.433 GB, free: 14.43 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000781/1.408, allocations: 204 kB / 1.434 GB, free: 14.23 MB / 1.123 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.0018/1.41, allocations: 1.512 MB / 1.435 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007912/1.411, allocations: 479.7 kB / 1.436 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.411, allocations: 3.938 kB / 1.436 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002856/1.411, allocations: 209.9 kB / 1.436 GB, free: 11.99 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.414, allocations: 485.7 kB / 1.436 GB, free: 11.53 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/1.422, allocations: 6.61 MB / 1.443 GB, free: 4.527 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/1.423, allocations: 1.04 MB / 1.444 GB, free: 3.457 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007091/1.424, allocations: 199 kB / 1.444 GB, free: 3.258 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/1.424, allocations: 295.3 kB / 1.444 GB, free: 2.969 MB / 1.123 GB Notification: Performance of SimCode: time 8.41e-07/1.424, allocations: 0 / 1.444 GB, free: 2.969 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/1.477, allocations: 22.59 MB / 1.466 GB, free: 12.79 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/10.58, allocations: 8.234 kB / 1.466 GB, free: 12.77 MB / 1.154 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