Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.001526/0.001526, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001922/0.001922, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 63.91 kB / 0.8686 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6081, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2025/0.8106, allocations: 188.1 MB / 1.2 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.8201, allocations: 5.756 MB / 1.206 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.8215, allocations: 35.75 kB / 1.206 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.8231, allocations: 0.4935 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.827, allocations: 1.513 MB / 1.208 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.83, allocations: 1.076 MB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00366/0.8336, allocations: 3.487 MB / 1.212 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.8348, allocations: 0.8566 MB / 1.213 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.8364, allocations: 0.8869 MB / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.8382, allocations: 0.8528 MB / 1.215 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.8384, allocations: 52 kB / 1.215 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.8414, allocations: 1.715 MB / 1.217 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004472/0.8419, allocations: 454.7 kB / 1.217 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007325/0.8426, allocations: 0.5675 MB / 1.218 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.8452, allocations: 2.134 MB / 1.22 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8452, allocations: 0 / 1.22 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.62e-07/0.8452, allocations: 0 / 1.22 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.8453, allocations: 0 / 1.22 GB, free: 2.07 MB / 0.9669 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.002169/0.8474, allocations: 1.472 MB / 1.221 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8475, allocations: 12.03 kB / 1.221 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.8476, allocations: 139.2 kB / 1.221 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.8497, allocations: 334.3 kB / 1.222 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.8509, allocations: 0.7688 MB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.8513, allocations: 121.9 kB / 1.223 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.8514, allocations: 87.94 kB / 1.223 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.8532, allocations: 1.072 MB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.8532, allocations: 3.938 kB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.8533, allocations: 40 kB / 1.224 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.8534, allocations: 30 kB / 1.224 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.8549, allocations: 0.8392 MB / 1.225 GB, free: 13.03 MB / 0.9825 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.005228/0.8601, allocations: 4.054 MB / 1.229 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.8607, allocations: 369.4 kB / 1.229 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.861, allocations: 221.3 kB / 1.229 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.8612, allocations: 101 kB / 1.229 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.8613, allocations: 46.5 kB / 1.229 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.8613, allocations: 0 / 1.229 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002468/0.8637, allocations: 1.33 MB / 1.231 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8638, allocations: 55.41 kB / 1.231 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8651, allocations: 0.992 MB / 1.232 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.8651, allocations: 41.64 kB / 1.232 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.8655, allocations: 491.3 kB / 1.232 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8656, allocations: 142 kB / 1.232 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.8658, allocations: 122.1 kB / 1.232 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.8659, allocations: 330 kB / 1.233 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.8664, allocations: 233.2 kB / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.867, allocations: 409.2 kB / 1.233 GB, free: 3.66 MB / 0.9825 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.002435/0.8694, allocations: 1.187 MB / 1.234 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8694, allocations: 0 / 1.234 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001318/0.8708, allocations: 0.7459 MB / 1.235 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8708, allocations: 4 kB / 1.235 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8708, allocations: 8.25 kB / 1.235 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8708, allocations: 12 kB / 1.235 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.8714, allocations: 139.8 kB / 1.235 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.8714, allocations: 11.94 kB / 1.235 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.8724, allocations: 95.67 kB / 1.235 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.8725, allocations: 27.98 kB / 1.235 GB, free: 1.34 MB / 0.9825 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004253/0.8729, allocations: 311.1 kB / 1.236 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.873, allocations: 102.8 kB / 1.236 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.8732, allocations: 101 kB / 1.236 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8732, allocations: 8 kB / 1.236 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8732, allocations: 0 / 1.236 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006463/0.8739, allocations: 0.6791 MB / 1.237 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.8762, allocations: 1.577 MB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.8762, allocations: 4 kB / 1.238 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.8766, allocations: 91.83 kB / 1.238 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.8766, allocations: 11.94 kB / 1.238 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.8767, allocations: 12 kB / 1.238 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.8767, allocations: 7.984 kB / 1.238 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8767, allocations: 4 kB / 1.238 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.8777, allocations: 0.8372 MB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.878, allocations: 235.9 kB / 1.239 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.8782, allocations: 19.98 kB / 1.239 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.8789, allocations: 53.64 kB / 1.239 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.879, allocations: 39.83 kB / 1.239 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.879, allocations: 31.98 kB / 1.239 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009652/0.88, allocations: 0.7035 MB / 1.24 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.88, allocations: 0 / 1.24 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008166/0.8808, allocations: 256 kB / 1.24 GB, free: 11.98 MB / 0.9981 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.001623/0.8825, allocations: 1.485 MB / 1.242 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009105/0.8834, allocations: 491.8 kB / 1.242 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8834, allocations: 0 / 1.242 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.8837, allocations: 197 kB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.8863, allocations: 0.5944 MB / 1.243 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.8976, allocations: 8.199 MB / 1.251 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4464/1.344, allocations: 1.096 MB / 1.252 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001096/1.345, allocations: 241.3 kB / 1.252 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/1.346, allocations: 347 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.346, allocations: 0 / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.774/4.12, allocations: 26.61 MB / 1.279 GB, free: 225 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/4.12, allocations: 273.2 kB / 1.279 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/6.572, allocations: 1.25 kB / 1.279 GB, free: 224.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches