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.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001674/0.001674, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.485/2.485, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.05 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2415, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.168/0.4095, allocations: 184.9 MB / 1.233 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.4229, allocations: 13.07 MB / 1.246 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008372/0.4238, allocations: 27.88 kB / 1.246 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.4249, allocations: 334.1 kB / 1.246 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4268, allocations: 0.8713 MB / 1.247 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.44/0.8668, allocations: 0.6067 MB / 1.247 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002538/0.8693, allocations: 2.101 MB / 1.249 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008936/0.8703, allocations: 0.5675 MB / 1.25 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.8734, allocations: 1.589 MB / 1.251 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.8748, allocations: 0.5302 MB / 1.252 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.875, allocations: 36.31 kB / 1.252 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.8765, allocations: 0.9658 MB / 1.253 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.8768, allocations: 269.2 kB / 1.253 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.8773, allocations: 367.2 kB / 1.254 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.8786, allocations: 1.181 MB / 1.255 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.8786, allocations: 0 / 1.255 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.11e-07/0.8786, allocations: 0 / 1.255 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8787, allocations: 2.75 kB / 1.255 GB, free: 2.949 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.001356/0.88, allocations: 1.051 MB / 1.256 GB, free: 18.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.8801, allocations: 9.094 kB / 1.256 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.757e-05/0.8802, allocations: 102.1 kB / 1.256 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.881, allocations: 189 kB / 1.256 GB, free: 18.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.8817, allocations: 0.5248 MB / 1.257 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.882, allocations: 97.98 kB / 1.257 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.8821, allocations: 64.72 kB / 1.257 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009689/0.8831, allocations: 0.7601 MB / 1.257 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.8831, allocations: 9.844 kB / 1.257 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.8832, allocations: 26.69 kB / 1.257 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.8832, allocations: 22.2 kB / 1.257 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.884, allocations: 465.8 kB / 1.258 GB, free: 17.64 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.003228/0.8873, allocations: 4.172 MB / 1.262 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.8874, allocations: 112 kB / 1.262 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.8875, allocations: 73.75 kB / 1.262 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.8876, allocations: 96.83 kB / 1.262 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.8877, allocations: 40.53 kB / 1.262 GB, free: 14.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.8877, allocations: 0 / 1.262 GB, free: 14.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.00058/0.8883, allocations: 240.9 kB / 1.263 GB, free: 14.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.8883, allocations: 134.5 kB / 1.263 GB, free: 14.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.8893, allocations: 0.8316 MB / 1.263 GB, free: 13.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.8893, allocations: 30.33 kB / 1.264 GB, free: 13.87 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.8896, allocations: 402.4 kB / 1.264 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.8896, allocations: 41 kB / 1.264 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8897, allocations: 82.59 kB / 1.264 GB, free: 13.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8898, allocations: 320.4 kB / 1.264 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.8901, allocations: 111.1 kB / 1.264 GB, free: 13.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.8905, allocations: 345.7 kB / 1.265 GB, free: 13.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.8909, allocations: 417.7 kB / 1.265 GB, free: 12.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.891, allocations: 7.141 kB / 1.265 GB, free: 12.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009112/0.8919, allocations: 486.8 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8919, allocations: 8.094 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8919, allocations: 7.531 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8919, allocations: 10.64 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.8923, allocations: 90.66 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.8923, allocations: 14.41 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.893, allocations: 126.7 kB / 1.266 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.893, allocations: 23.16 kB / 1.266 GB, free: 12.65 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.0002473/0.8933, allocations: 238.5 kB / 1.266 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.8934, allocations: 75.11 kB / 1.266 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.8935, allocations: 69.52 kB / 1.266 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8935, allocations: 1.531 kB / 1.266 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8935, allocations: 3.047 kB / 1.266 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8936, allocations: 1.375 kB / 1.266 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.8948, allocations: 1.125 MB / 1.267 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.8948, allocations: 3.047 kB / 1.267 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.8949, allocations: 21.23 kB / 1.267 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.8949, allocations: 7.156 kB / 1.267 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8949, allocations: 5.25 kB / 1.267 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.895, allocations: 6.422 kB / 1.267 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.895, allocations: 4.688 kB / 1.267 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.8952, allocations: 260.5 kB / 1.268 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.8954, allocations: 171.2 kB / 1.268 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.8955, allocations: 8.156 kB / 1.268 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.8959, allocations: 22.42 kB / 1.268 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.8959, allocations: 14.16 kB / 1.268 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.8959, allocations: 5.156 kB / 1.268 GB, free: 11.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008363/0.8968, allocations: 0.588 MB / 1.268 GB, free: 11.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8968, allocations: 3.375 kB / 1.268 GB, free: 11.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005485/0.8973, allocations: 152.5 kB / 1.269 GB, free: 11.36 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.0008069/0.8981, allocations: 0.898 MB / 1.269 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.8986, allocations: 230.4 kB / 1.27 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8986, allocations: 3.656 kB / 1.27 GB, free: 10.63 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.8987, allocations: 49.2 kB / 1.27 GB, free: 10.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.9003, allocations: 358.6 kB / 1.27 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00781/0.9081, allocations: 5.787 MB / 1.276 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.9086, allocations: 0.9375 MB / 1.277 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005575/0.9091, allocations: 143.5 kB / 1.277 GB, free: 7.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.9094, allocations: 228.6 kB / 1.277 GB, free: 7.148 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/0.9094, allocations: 0 / 1.277 GB, free: 7.148 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.852/2.762, allocations: 17.18 MB / 1.294 GB, free: 6.008 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/2.762, allocations: 287.5 kB / 1.294 GB, free: 5.629 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/5.992, allocations: 0 / 1.294 GB, free: 5.629 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