Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.007806/0.007806, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001823/0.001823, allocations: 200 kB / 16.68 MB, free: 5.922 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9207, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2259/1.147, allocations: 190.5 MB / 1.273 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.157, allocations: 5.714 MB / 1.279 GB, free: 9.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.159, allocations: 39.75 kB / 1.279 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/1.161, allocations: 0.5708 MB / 1.28 GB, free: 8.906 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005204/1.166, allocations: 1.824 MB / 1.281 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/1.169, allocations: 1.191 MB / 1.283 GB, free: 5.891 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004097/1.173, allocations: 2.963 MB / 1.286 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/1.175, allocations: 1.124 MB / 1.287 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/1.178, allocations: 1.07 MB / 1.288 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/1.18, allocations: 0.9587 MB / 1.289 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003884/1.18, allocations: 124 kB / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/1.184, allocations: 1.446 MB / 1.29 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009282/1.185, allocations: 0.5689 MB / 1.291 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/1.186, allocations: 0.7194 MB / 1.291 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004054/1.19, allocations: 2.333 MB / 1.294 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.19, allocations: 0 / 1.294 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.295e-06/1.19, allocations: 0 / 1.294 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.897e-05/1.19, allocations: 0 / 1.294 GB, free: 10.54 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003501/1.194, allocations: 1.612 MB / 1.295 GB, free: 8.879 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.194, allocations: 12.03 kB / 1.295 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/1.194, allocations: 164.1 kB / 1.295 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/1.196, allocations: 326.2 kB / 1.296 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/1.198, allocations: 0.9174 MB / 1.297 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/1.198, allocations: 77.97 kB / 1.297 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/1.198, allocations: 96 kB / 1.297 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/1.201, allocations: 1.081 MB / 1.298 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/1.201, allocations: 3.984 kB / 1.298 GB, free: 6.152 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.201, allocations: 44 kB / 1.298 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/1.201, allocations: 45.98 kB / 1.298 GB, free: 6.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/1.203, allocations: 0.9915 MB / 1.299 GB, free: 5.074 MB / 1.029 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.00667/1.209, allocations: 4.209 MB / 1.303 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/1.21, allocations: 0.6021 MB / 1.304 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/1.211, allocations: 342.5 kB / 1.304 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/1.211, allocations: 105.4 kB / 1.304 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.211, allocations: 43 kB / 1.304 GB, free: 15.45 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/1.211, allocations: 3.938 kB / 1.304 GB, free: 15.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=55): time 0.004177/1.215, allocations: 2.197 MB / 1.306 GB, free: 13.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/1.215, allocations: 63.91 kB / 1.306 GB, free: 13.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.216, allocations: 0.8843 MB / 1.307 GB, free: 12.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/1.216, allocations: 41.7 kB / 1.307 GB, free: 12.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/1.217, allocations: 0.5145 MB / 1.308 GB, free: 11.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.217, allocations: 197.2 kB / 1.308 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.217, allocations: 130.6 kB / 1.308 GB, free: 11.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.217, allocations: 330 kB / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/1.218, allocations: 289.8 kB / 1.309 GB, free: 10.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/1.219, allocations: 433 kB / 1.309 GB, free: 10.17 MB / 1.045 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.003861/1.222, allocations: 1.738 MB / 1.311 GB, free: 8.363 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.222, allocations: 4 kB / 1.311 GB, free: 8.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001536/1.224, allocations: 0.9262 MB / 1.312 GB, free: 7.418 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.224, allocations: 4 kB / 1.312 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.224, allocations: 7.938 kB / 1.312 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.224, allocations: 98.52 kB / 1.312 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/1.225, allocations: 163.7 kB / 1.312 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/1.228, allocations: 4.636 MB / 1.316 GB, free: 2.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/1.229, allocations: 27.92 kB / 1.316 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/1.229, allocations: 28.12 kB / 1.316 GB, free: 2.031 MB / 1.045 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005121/1.23, allocations: 349.5 kB / 1.317 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.23, allocations: 106.8 kB / 1.317 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/1.23, allocations: 109.2 kB / 1.317 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.23, allocations: 4 kB / 1.317 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.23, allocations: 0 / 1.317 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/1.231, allocations: 0.7731 MB / 1.318 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/1.235, allocations: 1.977 MB / 1.32 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.235, allocations: 4.406 kB / 1.32 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/1.235, allocations: 147.8 kB / 1.32 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.459e-05/1.235, allocations: 44.83 kB / 1.32 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/1.235, allocations: 15.94 kB / 1.32 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/1.237, allocations: 1.606 MB / 1.321 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.237, allocations: 7.938 kB / 1.321 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.238, allocations: 1.216 MB / 1.323 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.239, allocations: 260.1 kB / 1.323 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.239, allocations: 16 kB / 1.323 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.24, allocations: 34.47 kB / 1.323 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.24, allocations: 51.88 kB / 1.323 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/1.24, allocations: 27.98 kB / 1.323 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007744/1.241, allocations: 0.6122 MB / 1.324 GB, free: 10.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.185e-06/1.241, allocations: 0 / 1.324 GB, free: 10.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001056/1.242, allocations: 315.9 kB / 1.324 GB, free: 9.996 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002643/1.244, allocations: 1.842 MB / 1.326 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.246, allocations: 1.007 MB / 1.327 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.246, allocations: 4 kB / 1.327 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006635/1.247, allocations: 455.6 kB / 1.327 GB, free: 6.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.25, allocations: 0.6507 MB / 1.328 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.261, allocations: 7.917 MB / 1.335 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/1.262, allocations: 1.174 MB / 1.337 GB, free: 12.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000908/1.262, allocations: 256.4 kB / 1.337 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/1.263, allocations: 387.2 kB / 1.337 GB, free: 11.88 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/1.263, allocations: 0 / 1.337 GB, free: 11.88 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/1.329, allocations: 30.99 MB / 1.368 GB, free: 13.44 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.94, allocations: 16.81 kB / 1.368 GB, free: 13.43 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches