Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_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.006685/0.006685, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001714/0.001714, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.128/2.128, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.47 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2142, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6356/0.8498, allocations: 187.3 MB / 1.27 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.8616, allocations: 13.08 MB / 1.283 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.8623, allocations: 33.53 kB / 1.283 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009959/0.8633, allocations: 427.1 kB / 1.284 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.8656, allocations: 1.161 MB / 1.285 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.867, allocations: 0.7053 MB / 1.285 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.8687, allocations: 2.022 MB / 1.287 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008541/0.8696, allocations: 0.8315 MB / 1.288 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.8726, allocations: 1.812 MB / 1.29 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.8737, allocations: 0.6774 MB / 1.291 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.8738, allocations: 80 kB / 1.291 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.8751, allocations: 0.8718 MB / 1.292 GB, free: 2.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.8754, allocations: 388 kB / 1.292 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.8759, allocations: 0.4991 MB / 1.292 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8774, allocations: 1.497 MB / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8774, allocations: 1.703 kB / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8774, allocations: 0.9688 kB / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.8775, allocations: 0 / 1.294 GB, free: 2.773 MB / 1.014 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.001452/0.8789, allocations: 1.233 MB / 1.295 GB, free: 2.078 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.879, allocations: 9.094 kB / 1.295 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.8791, allocations: 125.7 kB / 1.295 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.8801, allocations: 209.5 kB / 1.295 GB, free: 1.988 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009345/0.8811, allocations: 0.6809 MB / 1.296 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.8811, allocations: 63.84 kB / 1.296 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.8812, allocations: 79.09 kB / 1.296 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.8823, allocations: 0.9338 MB / 1.297 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8824, allocations: 4.859 kB / 1.297 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.8824, allocations: 31.41 kB / 1.297 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.8825, allocations: 28.19 kB / 1.297 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.8833, allocations: 0.6203 MB / 1.298 GB, free: 1.422 MB / 1.014 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.003554/0.8869, allocations: 4.573 MB / 1.302 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.8875, allocations: 0.5436 MB / 1.303 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.8878, allocations: 247.6 kB / 1.303 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.888, allocations: 104.5 kB / 1.303 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.888, allocations: 40.27 kB / 1.303 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.8881, allocations: 0 / 1.303 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002271/0.8903, allocations: 1.589 MB / 1.305 GB, free: 13.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.8904, allocations: 109.3 kB / 1.305 GB, free: 13.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.8911, allocations: 0.7154 MB / 1.306 GB, free: 13.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.8911, allocations: 37.08 kB / 1.306 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.8914, allocations: 417.2 kB / 1.306 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.8915, allocations: 165.2 kB / 1.306 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.8917, allocations: 122 kB / 1.306 GB, free: 12.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.8918, allocations: 327.3 kB / 1.307 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.8921, allocations: 190.8 kB / 1.307 GB, free: 12.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.8925, allocations: 417.9 kB / 1.307 GB, free: 12.17 MB / 1.029 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.001914/0.8944, allocations: 1.178 MB / 1.308 GB, free: 11.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8944, allocations: 3.531 kB / 1.308 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008349/0.8952, allocations: 0.6681 MB / 1.309 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.8953, allocations: 7.469 kB / 1.309 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8953, allocations: 6.906 kB / 1.309 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8953, allocations: 11.38 kB / 1.309 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.8957, allocations: 125.2 kB / 1.309 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8957, allocations: 20.2 kB / 1.309 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.8962, allocations: 30.09 kB / 1.309 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.8963, allocations: 30.12 kB / 1.309 GB, free: 11.75 MB / 1.029 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.0002742/0.8966, allocations: 270.2 kB / 1.309 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.8967, allocations: 83.91 kB / 1.309 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.8969, allocations: 90.7 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8969, allocations: 5.781 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8969, allocations: 8.094 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006019/0.8975, allocations: 0.6987 MB / 1.31 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.8995, allocations: 1.643 MB / 1.312 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8995, allocations: 3.969 kB / 1.312 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.8999, allocations: 105.8 kB / 1.312 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8999, allocations: 7.203 kB / 1.312 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.9, allocations: 16.16 kB / 1.312 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9, allocations: 5.844 kB / 1.312 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9, allocations: 11.5 kB / 1.312 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.9009, allocations: 0.8695 MB / 1.313 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.9012, allocations: 200.4 kB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.9013, allocations: 16.69 kB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.9017, allocations: 17.8 kB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.9017, allocations: 38.27 kB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.9018, allocations: 21.55 kB / 1.313 GB, free: 10.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004874/0.9023, allocations: 0.5119 MB / 1.314 GB, free: 9.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9023, allocations: 2 kB / 1.314 GB, free: 9.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006295/0.9029, allocations: 201.1 kB / 1.314 GB, free: 9.98 MB / 1.029 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.001393/0.9043, allocations: 1.511 MB / 1.315 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.9049, allocations: 488.2 kB / 1.316 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.905, allocations: 1 kB / 1.316 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.9052, allocations: 208.8 kB / 1.316 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.9071, allocations: 490.1 kB / 1.316 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.9139, allocations: 6.619 MB / 1.323 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.9144, allocations: 1.029 MB / 1.324 GB, free: 5.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005055/0.915, allocations: 202.8 kB / 1.324 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.9153, allocations: 295.2 kB / 1.324 GB, free: 5.648 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.9153, allocations: 1.406 kB / 1.324 GB, free: 5.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.546/3.461, allocations: 22.22 MB / 1.346 GB, free: 1.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/15.96, allocations: 7.109 kB / 1.346 GB, free: 1.836 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches