Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001349/0.001349, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.001521/0.001521, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.387/1.387, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 3.049/3.049, allocations: 0.49 GB / 0.7916 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",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.002033/0.002033, allocations: 65.16 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2165/0.5417, allocations: 190.9 MB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5595, allocations: 13.15 MB / 1.52 GB, free: 6.5 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.5613, allocations: 43.62 kB / 1.52 GB, free: 6.457 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.5631, allocations: 449 kB / 1.521 GB, free: 6.016 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.5665, allocations: 1.194 MB / 1.522 GB, free: 4.816 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.5685, allocations: 0.7146 MB / 1.522 GB, free: 4.105 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.5712, allocations: 2.004 MB / 1.524 GB, free: 2.098 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.5723, allocations: 0.6912 MB / 1.525 GB, free: 1.383 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.5769, allocations: 2.016 MB / 1.527 GB, free: 15.36 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.579, allocations: 0.7043 MB / 1.528 GB, free: 14.66 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.5792, allocations: 83.94 kB / 1.528 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.5811, allocations: 0.9121 MB / 1.529 GB, free: 13.66 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.5816, allocations: 394.8 kB / 1.529 GB, free: 13.27 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.5823, allocations: 0.4976 MB / 1.53 GB, free: 12.77 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.5847, allocations: 1.502 MB / 1.531 GB, free: 11.27 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5847, allocations: 0 / 1.531 GB, free: 11.27 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5847, allocations: 4 kB / 1.531 GB, free: 11.26 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.5847, allocations: 0 / 1.531 GB, free: 11.26 MB / 1.232 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.002019/0.5867, allocations: 1.261 MB / 1.532 GB, free: 9.949 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5867, allocations: 11.98 kB / 1.532 GB, free: 9.938 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.5869, allocations: 126.5 kB / 1.532 GB, free: 9.805 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.5881, allocations: 219.2 kB / 1.533 GB, free: 9.59 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5893, allocations: 0.6799 MB / 1.533 GB, free: 8.867 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.5893, allocations: 62 kB / 1.533 GB, free: 8.809 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.5894, allocations: 83.94 kB / 1.533 GB, free: 8.727 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.5908, allocations: 0.9326 MB / 1.534 GB, free: 7.707 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5909, allocations: 4 kB / 1.534 GB, free: 7.703 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/0.5909, allocations: 35.94 kB / 1.534 GB, free: 7.668 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.591, allocations: 33.3 kB / 1.534 GB, free: 7.637 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.592, allocations: 0.6216 MB / 1.535 GB, free: 7.016 MB / 1.232 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.004724/0.5967, allocations: 4.669 MB / 1.54 GB, free: 2.035 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/0.5976, allocations: 0.5214 MB / 1.54 GB, free: 1.469 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.5979, allocations: 239.3 kB / 1.54 GB, free: 1.227 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.5981, allocations: 105 kB / 1.54 GB, free: 1.105 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.5981, allocations: 42.56 kB / 1.54 GB, free: 1.055 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.5981, allocations: 0 / 1.54 GB, free: 1.055 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.002871/0.601, allocations: 1.614 MB / 1.542 GB, free: 15.38 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.6011, allocations: 114.8 kB / 1.542 GB, free: 15.24 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.602, allocations: 0.7119 MB / 1.543 GB, free: 14.52 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.602, allocations: 37.7 kB / 1.543 GB, free: 14.48 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.6023, allocations: 420.6 kB / 1.543 GB, free: 14.06 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.6025, allocations: 174.4 kB / 1.543 GB, free: 13.89 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.6027, allocations: 118.3 kB / 1.544 GB, free: 13.77 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6028, allocations: 326 kB / 1.544 GB, free: 13.44 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.6031, allocations: 189.2 kB / 1.544 GB, free: 13.26 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.6036, allocations: 421 kB / 1.544 GB, free: 12.75 MB / 1.248 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.002427/0.606, allocations: 1.175 MB / 1.546 GB, free: 11.47 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.606, allocations: 4 kB / 1.546 GB, free: 11.47 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001137/0.6072, allocations: 0.6832 MB / 1.546 GB, free: 10.78 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6072, allocations: 8 kB / 1.546 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6072, allocations: 4 kB / 1.546 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.6072, allocations: 12.88 kB / 1.546 GB, free: 10.75 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.6077, allocations: 127.8 kB / 1.546 GB, free: 10.63 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.6077, allocations: 15.94 kB / 1.546 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.6083, allocations: 27.97 kB / 1.546 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.6084, allocations: 24 kB / 1.546 GB, free: 10.56 MB / 1.248 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.0004045/0.6088, allocations: 279.2 kB / 1.547 GB, free: 10.28 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.609, allocations: 91.38 kB / 1.547 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.6091, allocations: 91.66 kB / 1.547 GB, free: 10.1 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6092, allocations: 7.938 kB / 1.547 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.6092, allocations: 4 kB / 1.547 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007889/0.61, allocations: 0.6989 MB / 1.548 GB, free: 9.301 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.6125, allocations: 1.642 MB / 1.549 GB, free: 7.551 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.6126, allocations: 8.062 kB / 1.549 GB, free: 7.543 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.613, allocations: 99.83 kB / 1.549 GB, free: 7.445 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.613, allocations: 4 kB / 1.549 GB, free: 7.441 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.6131, allocations: 15.94 kB / 1.549 GB, free: 7.426 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.6131, allocations: 11.98 kB / 1.549 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.177e-05/0.6131, allocations: 4 kB / 1.549 GB, free: 7.41 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.6143, allocations: 0.8692 MB / 1.55 GB, free: 6.477 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.6147, allocations: 212.5 kB / 1.55 GB, free: 6.25 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.6148, allocations: 16 kB / 1.55 GB, free: 6.234 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.6152, allocations: 16.17 kB / 1.55 GB, free: 6.219 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.6153, allocations: 39.91 kB / 1.55 GB, free: 6.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.6154, allocations: 27.92 kB / 1.55 GB, free: 6.152 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007127/0.6161, allocations: 0.5068 MB / 1.551 GB, free: 5.648 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6161, allocations: 3.938 kB / 1.551 GB, free: 5.645 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008004/0.6169, allocations: 200 kB / 1.551 GB, free: 5.449 MB / 1.248 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.001858/0.6187, allocations: 1.491 MB / 1.553 GB, free: 3.898 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.6196, allocations: 452.9 kB / 1.553 GB, free: 3.457 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6196, allocations: 4.125 kB / 1.553 GB, free: 3.453 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.6199, allocations: 203.9 kB / 1.553 GB, free: 3.254 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.6222, allocations: 478.2 kB / 1.554 GB, free: 2.801 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6324, allocations: 6.658 MB / 1.56 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008613/0.6332, allocations: 1.028 MB / 1.561 GB, free: 10.68 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007156/0.6339, allocations: 203 kB / 1.561 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.6344, allocations: 295.3 kB / 1.562 GB, free: 10.19 MB / 1.264 GB Notification: Performance of SimCode: time 1.352e-06/0.6344, allocations: 0 / 1.562 GB, free: 10.19 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05647/0.6909, allocations: 22.29 MB / 1.583 GB, free: 4.312 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/9.805, allocations: 14.84 kB / 1.583 GB, free: 4.301 MB / 1.279 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 16.118172767106444]