Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_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.0008704/0.0008704, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005353/0.005353, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 14.09 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2588, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1813/0.4402, allocations: 182.4 MB / 1.237 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4552, allocations: 12.9 MB / 1.25 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.4563, allocations: 23.88 kB / 1.25 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.4576, allocations: 338 kB / 1.25 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.526/0.9836, allocations: 0.8654 MB / 1.251 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.9854, allocations: 0.6198 MB / 1.251 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.9877, allocations: 2.103 MB / 1.253 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.9885, allocations: 0.5419 MB / 1.254 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.9915, allocations: 1.566 MB / 1.255 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.9927, allocations: 0.5134 MB / 1.256 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.9928, allocations: 23.91 kB / 1.256 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.9943, allocations: 0.9584 MB / 1.257 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.9946, allocations: 248.8 kB / 1.257 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004797/0.9951, allocations: 367 kB / 1.257 GB, free: 19.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.9964, allocations: 1.17 MB / 1.259 GB, free: 19.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.9964, allocations: 0 / 1.259 GB, free: 19.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9964, allocations: 0 / 1.259 GB, free: 19.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.9965, allocations: 0 / 1.259 GB, free: 19.09 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.001096/0.9976, allocations: 0.9074 MB / 1.26 GB, free: 18.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.9976, allocations: 8.562 kB / 1.26 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.9977, allocations: 102 kB / 1.26 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.9986, allocations: 209.8 kB / 1.26 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.9992, allocations: 0.5268 MB / 1.26 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.9996, allocations: 105.6 kB / 1.26 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.9996, allocations: 61.17 kB / 1.26 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.001, allocations: 0.7689 MB / 1.261 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.001, allocations: 5.75 kB / 1.261 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/1.001, allocations: 26.53 kB / 1.261 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/1.001, allocations: 21.84 kB / 1.261 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/1.002, allocations: 477.3 kB / 1.262 GB, free: 17.79 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.003222/1.005, allocations: 4.176 MB / 1.266 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/1.005, allocations: 105.5 kB / 1.266 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/1.005, allocations: 80.67 kB / 1.266 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/1.005, allocations: 92.64 kB / 1.266 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.005, allocations: 40.86 kB / 1.266 GB, free: 14.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.005, allocations: 5.75 kB / 1.266 GB, free: 14.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005686/1.006, allocations: 235.3 kB / 1.266 GB, free: 14.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/1.006, allocations: 134.8 kB / 1.266 GB, free: 14.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.007, allocations: 0.8456 MB / 1.267 GB, free: 14.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/1.007, allocations: 26.41 kB / 1.267 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/1.007, allocations: 396.1 kB / 1.268 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/1.007, allocations: 40.97 kB / 1.268 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/1.007, allocations: 38.27 kB / 1.268 GB, free: 13.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/1.007, allocations: 326.3 kB / 1.268 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.008, allocations: 115.6 kB / 1.268 GB, free: 13.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/1.008, allocations: 350.5 kB / 1.269 GB, free: 13.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/1.009, allocations: 421.2 kB / 1.269 GB, free: 12.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.009, allocations: 6.875 kB / 1.269 GB, free: 12.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009138/1.009, allocations: 492.8 kB / 1.269 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.009, allocations: 13 kB / 1.269 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.009, allocations: 7.156 kB / 1.269 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.01, allocations: 11.47 kB / 1.269 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/1.01, allocations: 95.02 kB / 1.27 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/1.01, allocations: 14.64 kB / 1.27 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/1.011, allocations: 132.2 kB / 1.27 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.011, allocations: 26.95 kB / 1.27 GB, free: 12.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002511/1.011, allocations: 229.3 kB / 1.27 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/1.011, allocations: 71.59 kB / 1.27 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/1.011, allocations: 70.64 kB / 1.27 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.011, allocations: 5.625 kB / 1.27 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.011, allocations: 1.594 kB / 1.27 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.011, allocations: 4.125 kB / 1.27 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/1.012, allocations: 1.128 MB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.012, allocations: 2.531 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/1.013, allocations: 19.56 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/1.013, allocations: 6.875 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.013, allocations: 3.656 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/1.013, allocations: 6.516 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.013, allocations: 5.625 kB / 1.271 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/1.013, allocations: 264.3 kB / 1.271 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/1.013, allocations: 168.3 kB / 1.272 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/1.013, allocations: 7.75 kB / 1.272 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/1.014, allocations: 27.88 kB / 1.272 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/1.014, allocations: 12.8 kB / 1.272 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/1.014, allocations: 4.312 kB / 1.272 GB, free: 11.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008774/1.014, allocations: 0.5919 MB / 1.272 GB, free: 11.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.014, allocations: 0 / 1.272 GB, free: 11.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005716/1.015, allocations: 158.9 kB / 1.272 GB, free: 11.51 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.0007602/1.016, allocations: 0.8989 MB / 1.273 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004983/1.016, allocations: 235.6 kB / 1.274 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.016, allocations: 1.859 kB / 1.274 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.818e-05/1.016, allocations: 50.34 kB / 1.274 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.018, allocations: 369.2 kB / 1.274 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/1.026, allocations: 5.846 MB / 1.28 GB, free: 8.027 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.027, allocations: 0.9397 MB / 1.281 GB, free: 7.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006204/1.027, allocations: 139.9 kB / 1.281 GB, free: 7.293 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.028, allocations: 227.8 kB / 1.281 GB, free: 7.285 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.028, allocations: 0 / 1.281 GB, free: 7.285 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.592/4.62, allocations: 17.31 MB / 1.298 GB, free: 6.238 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/4.62, allocations: 287.3 kB / 1.298 GB, free: 5.855 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/7.01, allocations: 2.25 kB / 1.298 GB, free: 5.855 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches