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.008244/0.008244, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001635/0.001635, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.131/2.131, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.815, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2043/1.019, allocations: 187.1 MB / 1.27 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01532/1.035, allocations: 13.02 MB / 1.283 GB, free: 5.504 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/1.036, allocations: 27.88 kB / 1.283 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/1.037, allocations: 413.3 kB / 1.283 GB, free: 5.07 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/1.039, allocations: 0.9253 MB / 1.284 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/1.041, allocations: 0.7088 MB / 1.285 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001766/1.043, allocations: 1.5 MB / 1.286 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/1.044, allocations: 0.6663 MB / 1.287 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/1.047, allocations: 1.72 MB / 1.289 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/1.048, allocations: 0.5001 MB / 1.289 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.721e-05/1.048, allocations: 52 kB / 1.289 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/1.05, allocations: 0.8731 MB / 1.29 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/1.05, allocations: 275.2 kB / 1.29 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/1.051, allocations: 390 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/1.052, allocations: 1.18 MB / 1.292 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.052, allocations: 4 kB / 1.292 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/1.052, allocations: 0 / 1.292 GB, free: 12.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.052, allocations: 0 / 1.292 GB, free: 12.26 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.001413/1.054, allocations: 1.044 MB / 1.293 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.054, allocations: 12.03 kB / 1.293 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/1.054, allocations: 102.5 kB / 1.293 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/1.055, allocations: 190.8 kB / 1.293 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/1.055, allocations: 0.548 MB / 1.294 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/1.055, allocations: 49.3 kB / 1.294 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/1.056, allocations: 59.98 kB / 1.294 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.057, allocations: 0.7711 MB / 1.295 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.057, allocations: 7.938 kB / 1.295 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/1.057, allocations: 31.94 kB / 1.295 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/1.057, allocations: 24.98 kB / 1.295 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/1.058, allocations: 459.3 kB / 1.295 GB, free: 8.77 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.00388/1.062, allocations: 4.39 MB / 1.299 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.062, allocations: 98.36 kB / 1.3 GB, free: 4.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/1.062, allocations: 83.52 kB / 1.3 GB, free: 3.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/1.062, allocations: 97.09 kB / 1.3 GB, free: 3.809 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.062, allocations: 30.56 kB / 1.3 GB, free: 3.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/1.062, allocations: 0 / 1.3 GB, free: 3.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006168/1.063, allocations: 248.5 kB / 1.3 GB, free: 3.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/1.063, allocations: 128.5 kB / 1.3 GB, free: 3.363 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/1.064, allocations: 0.8411 MB / 1.301 GB, free: 2.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/1.064, allocations: 25.7 kB / 1.301 GB, free: 2.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/1.064, allocations: 410.8 kB / 1.301 GB, free: 2.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/1.064, allocations: 35.55 kB / 1.301 GB, free: 2.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/1.064, allocations: 89.89 kB / 1.301 GB, free: 1.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.064, allocations: 325.9 kB / 1.302 GB, free: 1.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/1.065, allocations: 116.6 kB / 1.302 GB, free: 1.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.065, allocations: 361.9 kB / 1.302 GB, free: 1.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/1.066, allocations: 441.5 kB / 1.303 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.066, allocations: 4 kB / 1.303 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008491/1.067, allocations: 0.4928 MB / 1.303 GB, free: 15.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.067, allocations: 10.19 kB / 1.303 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.067, allocations: 8 kB / 1.303 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.067, allocations: 8 kB / 1.303 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/1.067, allocations: 96.28 kB / 1.303 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.067, allocations: 16.31 kB / 1.303 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/1.067, allocations: 125.5 kB / 1.303 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/1.068, allocations: 27.98 kB / 1.303 GB, free: 15.71 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.0002161/1.068, allocations: 229.6 kB / 1.304 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.068, allocations: 75.06 kB / 1.304 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/1.068, allocations: 74.17 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.068, allocations: 3.984 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.068, allocations: 4 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.068, allocations: 3.938 kB / 1.304 GB, free: 15.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.069, allocations: 1.116 MB / 1.305 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.069, allocations: 0 / 1.305 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/1.069, allocations: 23.92 kB / 1.305 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.069, allocations: 8.312 kB / 1.305 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.07, allocations: 8.125 kB / 1.305 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.07, allocations: 0 / 1.305 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.07, allocations: 4 kB / 1.305 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/1.07, allocations: 275.7 kB / 1.305 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.07, allocations: 164.2 kB / 1.305 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/1.07, allocations: 8 kB / 1.305 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/1.07, allocations: 19.98 kB / 1.305 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/1.07, allocations: 11.92 kB / 1.305 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/1.07, allocations: 12 kB / 1.305 GB, free: 13.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008464/1.071, allocations: 0.581 MB / 1.306 GB, free: 12.95 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.61e-07/1.071, allocations: 0 / 1.306 GB, free: 12.95 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006206/1.072, allocations: 167.8 kB / 1.306 GB, free: 12.78 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.0009515/1.073, allocations: 0.8841 MB / 1.307 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005411/1.073, allocations: 249.3 kB / 1.307 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.073, allocations: 0 / 1.307 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.631e-05/1.074, allocations: 47.84 kB / 1.307 GB, free: 11.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.075, allocations: 376.6 kB / 1.308 GB, free: 11.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/1.082, allocations: 5.449 MB / 1.313 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/1.083, allocations: 0.9331 MB / 1.314 GB, free: 4.445 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004816/1.083, allocations: 150.1 kB / 1.314 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/1.084, allocations: 235.4 kB / 1.314 GB, free: 4.066 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.084, allocations: 0 / 1.314 GB, free: 4.066 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/1.121, allocations: 18.26 MB / 1.332 GB, free: 2.188 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.789, allocations: 9.766 kB / 1.332 GB, free: 2.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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