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.006481/0.006481, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001593/0.001593, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.249/2.249, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.48 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2363, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6367/0.873, allocations: 187.1 MB / 1.27 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.8846, allocations: 13.03 MB / 1.283 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.8854, allocations: 28.97 kB / 1.283 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.8864, allocations: 409.5 kB / 1.283 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.8882, allocations: 0.9292 MB / 1.284 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.8898, allocations: 0.7115 MB / 1.285 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.8912, allocations: 1.503 MB / 1.286 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.8918, allocations: 0.6543 MB / 1.287 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.8946, allocations: 1.725 MB / 1.289 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009895/0.8956, allocations: 0.5006 MB / 1.289 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.8957, allocations: 55.08 kB / 1.289 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.897, allocations: 0.8748 MB / 1.29 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.8973, allocations: 278.5 kB / 1.29 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.8976, allocations: 385.2 kB / 1.291 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.8988, allocations: 1.172 MB / 1.292 GB, free: 2.816 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8988, allocations: 1.469 kB / 1.292 GB, free: 2.816 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8988, allocations: 0.9688 kB / 1.292 GB, free: 2.816 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.8988, allocations: 0.75 kB / 1.292 GB, free: 2.816 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001082/0.8999, allocations: 1.045 MB / 1.293 GB, free: 2.164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.9, allocations: 9.625 kB / 1.293 GB, free: 2.164 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.729e-05/0.9001, allocations: 102.9 kB / 1.293 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.9009, allocations: 192.5 kB / 1.293 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.9016, allocations: 0.554 MB / 1.294 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.9016, allocations: 43.56 kB / 1.294 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.9017, allocations: 60.59 kB / 1.294 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/0.9026, allocations: 0.771 MB / 1.295 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.9026, allocations: 9.594 kB / 1.295 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.9027, allocations: 25.5 kB / 1.295 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.9027, allocations: 22.97 kB / 1.295 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.9035, allocations: 464 kB / 1.295 GB, free: 1.484 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.002969/0.9064, allocations: 4.38 MB / 1.299 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.9065, allocations: 108.9 kB / 1.299 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.9066, allocations: 76.28 kB / 1.3 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.9068, allocations: 97.33 kB / 1.3 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.9068, allocations: 34.55 kB / 1.3 GB, free: 13.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.9068, allocations: 4.953 kB / 1.3 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005304/0.9073, allocations: 246 kB / 1.3 GB, free: 13.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.9074, allocations: 133 kB / 1.3 GB, free: 13.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.9083, allocations: 0.8386 MB / 1.301 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.9084, allocations: 30.83 kB / 1.301 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.9086, allocations: 405.4 kB / 1.301 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.9086, allocations: 36.77 kB / 1.301 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.9088, allocations: 90.81 kB / 1.301 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.9089, allocations: 322 kB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.9091, allocations: 113.1 kB / 1.302 GB, free: 12.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.9095, allocations: 364.8 kB / 1.302 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.91, allocations: 440.6 kB / 1.303 GB, free: 12.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.91, allocations: 4.625 kB / 1.303 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007876/0.9108, allocations: 0.4964 MB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9108, allocations: 9.516 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9108, allocations: 10.23 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9109, allocations: 10.44 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.9111, allocations: 96.28 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.9112, allocations: 15.95 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.9117, allocations: 114.5 kB / 1.303 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.9118, allocations: 26.31 kB / 1.303 GB, free: 12.26 MB / 1.029 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.0002152/0.912, allocations: 234.3 kB / 1.304 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.9121, allocations: 76.05 kB / 1.304 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.9122, allocations: 70.91 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.9122, allocations: 3.438 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9122, allocations: 3.406 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9123, allocations: 0.5625 kB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.9134, allocations: 1.119 MB / 1.305 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.9134, allocations: 2.875 kB / 1.305 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.9135, allocations: 19.17 kB / 1.305 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.9135, allocations: 3.969 kB / 1.305 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.9135, allocations: 11.12 kB / 1.305 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.9135, allocations: 4.5 kB / 1.305 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9135, allocations: 8.641 kB / 1.305 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.9138, allocations: 265.9 kB / 1.305 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.914, allocations: 171.2 kB / 1.305 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.9141, allocations: 9.453 kB / 1.305 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.9144, allocations: 20.06 kB / 1.305 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.9144, allocations: 11.09 kB / 1.305 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.9144, allocations: 6.156 kB / 1.305 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006507/0.9151, allocations: 0.5906 MB / 1.306 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9151, allocations: 0 / 1.306 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004842/0.9156, allocations: 155.1 kB / 1.306 GB, free: 10.99 MB / 1.029 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.0007275/0.9163, allocations: 0.9033 MB / 1.307 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.9167, allocations: 242.3 kB / 1.307 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9168, allocations: 2.625 kB / 1.307 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/0.9168, allocations: 50.38 kB / 1.307 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.9182, allocations: 374.7 kB / 1.308 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.9239, allocations: 5.446 MB / 1.313 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.9244, allocations: 0.9364 MB / 1.314 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003715/0.9248, allocations: 147.8 kB / 1.314 GB, free: 7.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.925, allocations: 230.4 kB / 1.314 GB, free: 7.203 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.925, allocations: 0 / 1.314 GB, free: 7.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.533/5.458, allocations: 17.97 MB / 1.332 GB, free: 5.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/18.55, allocations: 1.719 kB / 1.332 GB, free: 5.727 MB / 1.029 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