Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.00559/0.00559, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001241/0.001241, allocations: 204 kB / 16.68 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.724/2.724, allocations: 469.4 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.12 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2799, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.6202/0.9001, allocations: 49.77 MB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.9167, allocations: 12.69 MB / 1.281 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002836/0.9196, allocations: 82.94 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.9219, allocations: 0.7737 MB / 1.282 GB, free: 14.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.9278, allocations: 1.915 MB / 1.283 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.9318, allocations: 1.358 MB / 1.285 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005688/0.9375, allocations: 3.274 MB / 1.288 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.9396, allocations: 1.249 MB / 1.289 GB, free: 11.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.9432, allocations: 1.326 MB / 1.29 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.9449, allocations: 0.9307 MB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.9451, allocations: 95.12 kB / 1.291 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.9477, allocations: 1.066 MB / 1.293 GB, free: 9.637 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.9481, allocations: 289.2 kB / 1.293 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.9492, allocations: 0.6705 MB / 1.293 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.9545, allocations: 1.967 MB / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.9546, allocations: 0 / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9546, allocations: 1.062 kB / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.844e-05/0.9546, allocations: 4.75 kB / 1.295 GB, free: 8.297 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003237/0.9579, allocations: 1.742 MB / 1.297 GB, free: 7.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.9579, allocations: 9.562 kB / 1.297 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.9581, allocations: 137.2 kB / 1.297 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006615/0.9587, allocations: 216.1 kB / 1.297 GB, free: 6.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.961, allocations: 1.109 MB / 1.299 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.9611, allocations: 61.09 kB / 1.299 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9612, allocations: 87.97 kB / 1.299 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.963, allocations: 1.004 MB / 1.3 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.9631, allocations: 2.219 kB / 1.3 GB, free: 5.684 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.9632, allocations: 37.66 kB / 1.3 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.9632, allocations: 21.5 kB / 1.3 GB, free: 5.656 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.9647, allocations: 0.6481 MB / 1.3 GB, free: 5.453 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.005447/0.9702, allocations: 4.741 MB / 1.305 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.9714, allocations: 406.5 kB / 1.305 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.972, allocations: 216.2 kB / 1.306 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/0.9728, allocations: 1.143 MB / 1.307 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9729, allocations: 42.05 kB / 1.307 GB, free: 168 kB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.9729, allocations: 0 / 1.307 GB, free: 168 kB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.003056/0.9759, allocations: 1.072 MB / 1.308 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.976, allocations: 59.23 kB / 1.308 GB, free: 15.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.9773, allocations: 0.9808 MB / 1.309 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.9773, allocations: 36.3 kB / 1.309 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.9778, allocations: 0.5971 MB / 1.309 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9779, allocations: 110.5 kB / 1.31 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.9781, allocations: 115.9 kB / 1.31 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.9782, allocations: 329.5 kB / 1.31 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.9787, allocations: 199 kB / 1.31 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.9795, allocations: 407.7 kB / 1.311 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9807, allocations: 0.5923 MB / 1.311 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9807, allocations: 5.406 kB / 1.311 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001766/0.9825, allocations: 0.7601 MB / 1.312 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.9825, allocations: 7.344 kB / 1.312 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9825, allocations: 6.688 kB / 1.312 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006872/0.9832, allocations: 152.9 kB / 1.312 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.9839, allocations: 153.6 kB / 1.312 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.9849, allocations: 1.722 MB / 1.314 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.9858, allocations: 89.94 kB / 1.314 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.9858, allocations: 30.58 kB / 1.314 GB, free: 11.35 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004503/0.9863, allocations: 267.9 kB / 1.314 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.9865, allocations: 112 kB / 1.314 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.9884, allocations: 0.7234 MB / 1.315 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.9884, allocations: 5.25 kB / 1.315 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9885, allocations: 8.734 kB / 1.315 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.9885, allocations: 5.109 kB / 1.315 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.9917, allocations: 1.639 MB / 1.317 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.9917, allocations: 1.438 kB / 1.317 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.9922, allocations: 90.88 kB / 1.317 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/0.9928, allocations: 145.4 kB / 1.317 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.9929, allocations: 18.28 kB / 1.317 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.9939, allocations: 1.709 MB / 1.319 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9939, allocations: 3.484 kB / 1.319 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.9955, allocations: 0.7883 MB / 1.319 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.996, allocations: 250.9 kB / 1.32 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.9963, allocations: 7.938 kB / 1.32 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.9969, allocations: 43.7 kB / 1.32 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.997, allocations: 37.86 kB / 1.32 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.9971, allocations: 23.22 kB / 1.32 GB, free: 7.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001054/0.9982, allocations: 0.6586 MB / 1.32 GB, free: 7.348 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9982, allocations: 3.938 kB / 1.32 GB, free: 7.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001273/0.9995, allocations: 377 kB / 1.321 GB, free: 7.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002809/1.002, allocations: 1.642 MB / 1.322 GB, free: 6.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.004, allocations: 0.5436 MB / 1.323 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.004, allocations: 0 / 1.323 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008483/1.005, allocations: 297.4 kB / 1.323 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.007, allocations: 0.5211 MB / 1.324 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.02, allocations: 7.33 MB / 1.331 GB, free: 1.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/1.021, allocations: 1.101 MB / 1.332 GB, free: 1.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008312/1.022, allocations: 191.6 kB / 1.332 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/1.022, allocations: 418.5 kB / 1.332 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/1.022, allocations: 0 / 1.332 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05827/1.081, allocations: 29.53 MB / 1.361 GB, free: 3.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.34, allocations: 9.656 kB / 1.361 GB, free: 3.902 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches