Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.008134/0.008134, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001961/0.001961, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7393/0.7407, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2005/0.9413, allocations: 187.1 MB / 1.27 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.9555, allocations: 13.02 MB / 1.283 GB, free: 5.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.9566, allocations: 31.81 kB / 1.283 GB, free: 5.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.9578, allocations: 425.3 kB / 1.283 GB, free: 5.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.9599, allocations: 0.9566 MB / 1.284 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.9616, allocations: 0.7049 MB / 1.285 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.9633, allocations: 1.514 MB / 1.286 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008251/0.9642, allocations: 0.6595 MB / 1.287 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.9676, allocations: 1.782 MB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.9687, allocations: 0.4951 MB / 1.289 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.188e-05/0.9688, allocations: 52 kB / 1.289 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.9703, allocations: 0.8809 MB / 1.29 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.9706, allocations: 283.1 kB / 1.291 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.9709, allocations: 386.1 kB / 1.291 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.9724, allocations: 1.183 MB / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.9724, allocations: 0 / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9724, allocations: 0 / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9725, allocations: 0 / 1.292 GB, free: 12.18 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001357/0.9738, allocations: 1.077 MB / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9739, allocations: 8.031 kB / 1.293 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.974, allocations: 106.5 kB / 1.293 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.975, allocations: 195.3 kB / 1.293 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.9758, allocations: 0.5602 MB / 1.294 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.9759, allocations: 41.31 kB / 1.294 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/0.976, allocations: 60 kB / 1.294 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.9771, allocations: 0.775 MB / 1.295 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.9771, allocations: 7.938 kB / 1.295 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.9772, allocations: 27.94 kB / 1.295 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.9772, allocations: 21 kB / 1.295 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.9781, allocations: 467.3 kB / 1.295 GB, free: 8.645 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.003639/0.9818, allocations: 4.383 MB / 1.3 GB, free: 4.031 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.9819, allocations: 102.4 kB / 1.3 GB, free: 3.895 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.982, allocations: 79.5 kB / 1.3 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.9822, allocations: 93.09 kB / 1.3 GB, free: 3.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.9822, allocations: 38.5 kB / 1.3 GB, free: 3.648 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.9822, allocations: 7.938 kB / 1.3 GB, free: 3.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.000653/0.9829, allocations: 245 kB / 1.3 GB, free: 3.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.983, allocations: 128.5 kB / 1.3 GB, free: 3.238 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.984, allocations: 0.845 MB / 1.301 GB, free: 2.379 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.984, allocations: 29.7 kB / 1.301 GB, free: 2.344 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.9843, allocations: 411.6 kB / 1.301 GB, free: 1.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.9843, allocations: 39.73 kB / 1.302 GB, free: 1.898 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.9845, allocations: 89.97 kB / 1.302 GB, free: 1.805 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9846, allocations: 325.9 kB / 1.302 GB, free: 1.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.9849, allocations: 116.6 kB / 1.302 GB, free: 1.367 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.9853, allocations: 358 kB / 1.302 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.9859, allocations: 445.5 kB / 1.303 GB, free: 368 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.9859, allocations: 4 kB / 1.303 GB, free: 364 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009185/0.9868, allocations: 0.4974 MB / 1.303 GB, free: 15.85 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9868, allocations: 10.34 kB / 1.303 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9868, allocations: 8 kB / 1.303 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.9869, allocations: 12 kB / 1.303 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.9872, allocations: 92.36 kB / 1.303 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.9872, allocations: 27.91 kB / 1.303 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.9879, allocations: 119.2 kB / 1.304 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.9879, allocations: 20 kB / 1.304 GB, free: 15.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002311/0.9881, allocations: 237.6 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.9883, allocations: 75.53 kB / 1.304 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.9884, allocations: 74.16 kB / 1.304 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.9884, allocations: 4 kB / 1.304 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9884, allocations: 0 / 1.304 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9884, allocations: 3.938 kB / 1.304 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.9897, allocations: 1.128 MB / 1.305 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9897, allocations: 320 / 1.305 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/0.9898, allocations: 20 kB / 1.305 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.9898, allocations: 4 kB / 1.305 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.9898, allocations: 7.984 kB / 1.305 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9898, allocations: 0 / 1.305 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9898, allocations: 7.938 kB / 1.305 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.9901, allocations: 268.2 kB / 1.305 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.9903, allocations: 172.7 kB / 1.305 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.9904, allocations: 7.922 kB / 1.305 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.9908, allocations: 19.98 kB / 1.306 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.9908, allocations: 15.88 kB / 1.306 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.9908, allocations: 8 kB / 1.306 GB, free: 13.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007744/0.9916, allocations: 0.5888 MB / 1.306 GB, free: 12.79 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9916, allocations: 4 kB / 1.306 GB, free: 12.78 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005491/0.9922, allocations: 151.8 kB / 1.306 GB, free: 12.63 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008121/0.993, allocations: 0.8974 MB / 1.307 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005011/0.9935, allocations: 245.2 kB / 1.307 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9935, allocations: 0 / 1.307 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/0.9936, allocations: 43.95 kB / 1.307 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.9952, allocations: 377.9 kB / 1.308 GB, free: 11.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/1.002, allocations: 5.473 MB / 1.313 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/1.002, allocations: 0.937 MB / 1.314 GB, free: 4.258 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004775/1.003, allocations: 150.1 kB / 1.314 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.003, allocations: 231.1 kB / 1.314 GB, free: 3.887 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/1.003, allocations: 0 / 1.314 GB, free: 3.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/1.041, allocations: 17.98 MB / 1.332 GB, free: 2.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/9.474, allocations: 8.375 kB / 1.332 GB, free: 2.277 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches