Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_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.002225/0.002225, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.345/2.345, allocations: 469.8 MB / 0.7424 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003327/0.003327, allocations: 65.62 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2511, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1867/0.4379, allocations: 187.1 MB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4362/0.8741, allocations: 13 MB / 1.26 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.8748, allocations: 34.77 kB / 1.26 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.8757, allocations: 413 kB / 1.26 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.8771, allocations: 0.9298 MB / 1.261 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.8784, allocations: 0.6914 MB / 1.262 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009991/0.8794, allocations: 1.504 MB / 1.263 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/0.8801, allocations: 0.6539 MB / 1.264 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.8824, allocations: 1.715 MB / 1.265 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008754/0.8833, allocations: 0.5073 MB / 1.266 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.8834, allocations: 52.56 kB / 1.266 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.8845, allocations: 0.8761 MB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.8847, allocations: 278 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.885, allocations: 385.5 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.8861, allocations: 1.153 MB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8861, allocations: 1.375 kB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8861, allocations: 0.9688 kB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.026e-06/0.8861, allocations: 0 / 1.268 GB, free: 4.531 MB / 0.9981 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.001174/0.8873, allocations: 1.042 MB / 1.269 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.8873, allocations: 12.3 kB / 1.269 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.429e-05/0.8874, allocations: 104.4 kB / 1.27 GB, free: 19.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007756/0.8882, allocations: 189.8 kB / 1.27 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.8888, allocations: 0.5184 MB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.8891, allocations: 105.3 kB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.8891, allocations: 60.22 kB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.89, allocations: 0.7841 MB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.89, allocations: 4.031 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.8901, allocations: 27.56 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.8901, allocations: 22.72 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.8909, allocations: 474.4 kB / 1.272 GB, free: 19.21 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.003399/0.8943, allocations: 4.408 MB / 1.276 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.8944, allocations: 108 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.8945, allocations: 73.44 kB / 1.276 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.8946, allocations: 97.69 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.8946, allocations: 41.25 kB / 1.276 GB, free: 15.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.8947, allocations: 0.875 kB / 1.276 GB, free: 15.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005636/0.8952, allocations: 242 kB / 1.277 GB, free: 15.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.8953, allocations: 136.4 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/0.8963, allocations: 0.8504 MB / 1.278 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.8963, allocations: 30.58 kB / 1.278 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.8965, allocations: 404.4 kB / 1.278 GB, free: 15.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.8966, allocations: 38.91 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.8967, allocations: 93.41 kB / 1.278 GB, free: 14.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8968, allocations: 323.3 kB / 1.278 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.8971, allocations: 114.4 kB / 1.278 GB, free: 14.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.8974, allocations: 371.4 kB / 1.279 GB, free: 14.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.8979, allocations: 441.3 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8979, allocations: 2.844 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008331/0.8987, allocations: 0.507 MB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.8988, allocations: 8.25 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8988, allocations: 8.688 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.8988, allocations: 10.23 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.8991, allocations: 99.5 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.8991, allocations: 19.83 kB / 1.28 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.8997, allocations: 122.9 kB / 1.28 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.8997, allocations: 23.84 kB / 1.28 GB, free: 14 MB / 1.014 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.000218/0.9, allocations: 227 kB / 1.28 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.9001, allocations: 77.14 kB / 1.28 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.9002, allocations: 73.78 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9002, allocations: 2.562 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9002, allocations: 5.875 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9002, allocations: 3.438 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.9014, allocations: 1.119 MB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9014, allocations: 2.734 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.9015, allocations: 17.39 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.9015, allocations: 3.312 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.9015, allocations: 6.875 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.9015, allocations: 7.734 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9015, allocations: 2.906 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.9018, allocations: 263.9 kB / 1.282 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.902, allocations: 174.6 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-05/0.9021, allocations: 5.469 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.9024, allocations: 23 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.9024, allocations: 24.34 kB / 1.282 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.9024, allocations: 10.27 kB / 1.282 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008538/0.9033, allocations: 0.5904 MB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9033, allocations: 1.031 kB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00046/0.9038, allocations: 161.5 kB / 1.283 GB, free: 12.71 MB / 1.014 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.0007488/0.9045, allocations: 0.8891 MB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.905, allocations: 249 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.905, allocations: 1.031 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.905, allocations: 48.44 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.9064, allocations: 382.3 kB / 1.284 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.9121, allocations: 5.724 MB / 1.29 GB, free: 9.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.9126, allocations: 0.9422 MB / 1.291 GB, free: 8.691 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004233/0.9131, allocations: 148.9 kB / 1.291 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.9133, allocations: 230 kB / 1.291 GB, free: 8.652 MB / 1.014 GB Notification: Performance of SimCode: time 2.01e-07/0.9133, allocations: 0 / 1.291 GB, free: 8.652 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6595/1.573, allocations: 17.83 MB / 1.309 GB, free: 7.309 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.026/10.6, allocations: 4.062 kB / 1.309 GB, free: 7.309 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches