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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001103/0.001103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001148/0.001148, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.66 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1738/0.4933, allocations: 184.7 MB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01332/0.5066, allocations: 12.92 MB / 1.245 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008986/0.5075, allocations: 27.81 kB / 1.245 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5087, allocations: 358.1 kB / 1.246 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.5107, allocations: 0.8674 MB / 1.247 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.5123, allocations: 0.6263 MB / 1.247 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5425/1.055, allocations: 1.491 MB / 1.249 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.056, allocations: 0.6313 MB / 1.249 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/1.06, allocations: 1.681 MB / 1.251 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/1.061, allocations: 0.5365 MB / 1.251 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.061, allocations: 54.41 kB / 1.251 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/1.063, allocations: 0.9069 MB / 1.252 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/1.063, allocations: 285.5 kB / 1.253 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005976/1.064, allocations: 384.4 kB / 1.253 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/1.065, allocations: 1.204 MB / 1.254 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.065, allocations: 0 / 1.254 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.065, allocations: 0.7188 kB / 1.254 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.065, allocations: 0 / 1.254 GB, free: 3.312 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.001295/1.067, allocations: 1.046 MB / 1.255 GB, free: 18.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.067, allocations: 12.38 kB / 1.255 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.769e-05/1.067, allocations: 100.2 kB / 1.255 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/1.068, allocations: 192.4 kB / 1.255 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/1.068, allocations: 0.5239 MB / 1.256 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/1.069, allocations: 99.2 kB / 1.256 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/1.069, allocations: 60.56 kB / 1.256 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/1.07, allocations: 0.7606 MB / 1.257 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.07, allocations: 3 kB / 1.257 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/1.07, allocations: 32.3 kB / 1.257 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.07, allocations: 20.83 kB / 1.257 GB, free: 18.03 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/1.071, allocations: 475.6 kB / 1.257 GB, free: 18.03 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.00314/1.074, allocations: 4.154 MB / 1.261 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/1.074, allocations: 110.2 kB / 1.262 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/1.074, allocations: 79.23 kB / 1.262 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/1.074, allocations: 95.91 kB / 1.262 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.074, allocations: 42.91 kB / 1.262 GB, free: 14.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/1.074, allocations: 3.656 kB / 1.262 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.000558/1.075, allocations: 246.4 kB / 1.262 GB, free: 14.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/1.075, allocations: 135.3 kB / 1.262 GB, free: 14.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/1.076, allocations: 0.833 MB / 1.263 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/1.076, allocations: 28.8 kB / 1.263 GB, free: 14.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/1.076, allocations: 396.2 kB / 1.263 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/1.076, allocations: 45.66 kB / 1.263 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.076, allocations: 77.92 kB / 1.263 GB, free: 14.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/1.076, allocations: 324.2 kB / 1.264 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.077, allocations: 111.8 kB / 1.264 GB, free: 13.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.077, allocations: 345.3 kB / 1.264 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/1.077, allocations: 411.2 kB / 1.265 GB, free: 13.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.077, allocations: 3.938 kB / 1.265 GB, free: 13.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007805/1.078, allocations: 492.6 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.078, allocations: 8.406 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.078, allocations: 9.531 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.078, allocations: 9.375 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.079, allocations: 88.06 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.079, allocations: 15.47 kB / 1.265 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/1.079, allocations: 126.6 kB / 1.265 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/1.079, allocations: 23.75 kB / 1.265 GB, free: 13.14 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.0002317/1.079, allocations: 230.6 kB / 1.266 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.08, allocations: 78.59 kB / 1.266 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/1.08, allocations: 72.95 kB / 1.266 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.08, allocations: 1.906 kB / 1.266 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.08, allocations: 2.344 kB / 1.266 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.08, allocations: 1.922 kB / 1.266 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/1.081, allocations: 1.129 MB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.081, allocations: 3.75 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/1.081, allocations: 17.38 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.081, allocations: 7.609 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/1.081, allocations: 4.656 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.081, allocations: 6.703 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.081, allocations: 4.719 kB / 1.267 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/1.081, allocations: 260.6 kB / 1.267 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/1.082, allocations: 168.3 kB / 1.267 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/1.082, allocations: 13.48 kB / 1.267 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/1.082, allocations: 19.5 kB / 1.267 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/1.082, allocations: 14.94 kB / 1.267 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/1.082, allocations: 5.938 kB / 1.267 GB, free: 11.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008215/1.083, allocations: 0.5866 MB / 1.268 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.083, allocations: 1.375 kB / 1.268 GB, free: 11.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005647/1.083, allocations: 156.7 kB / 1.268 GB, free: 11.87 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.0008615/1.084, allocations: 0.8956 MB / 1.269 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005226/1.085, allocations: 236 kB / 1.269 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.085, allocations: 1.469 kB / 1.269 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/1.085, allocations: 53.81 kB / 1.269 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.086, allocations: 383.6 kB / 1.27 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/1.094, allocations: 5.783 MB / 1.275 GB, free: 8.449 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/1.095, allocations: 0.9392 MB / 1.276 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005575/1.095, allocations: 136.9 kB / 1.276 GB, free: 7.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/1.096, allocations: 227.3 kB / 1.276 GB, free: 7.734 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.096, allocations: 1.203 kB / 1.276 GB, free: 7.734 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/3.166, allocations: 17.57 MB / 1.294 GB, free: 6.582 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004099/3.166, allocations: 286.9 kB / 1.294 GB, free: 6.203 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/7.269, allocations: 0 / 1.294 GB, free: 6.203 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