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: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009067, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009413/0.0009412, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 12 kB / 0.8707 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.623, allocations: 153.6 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1583/0.7813, allocations: 155.6 MB / 1.173 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.7938, allocations: 10.87 MB / 1.183 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.7946, allocations: 19.88 kB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.7959, allocations: 437.9 kB / 1.184 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.7985, allocations: 1.032 MB / 1.185 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.8006, allocations: 0.8094 MB / 1.186 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.802, allocations: 0.9019 MB / 1.187 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.8027, allocations: 0.5103 MB / 1.187 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.8051, allocations: 1.133 MB / 1.188 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.8055, allocations: 318.6 kB / 1.188 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.8056, allocations: 24 kB / 1.188 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.8068, allocations: 0.6084 MB / 1.189 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.807, allocations: 227.4 kB / 1.189 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.8072, allocations: 173.2 kB / 1.189 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000909/0.8081, allocations: 0.8145 MB / 1.19 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.8081, allocations: 4 kB / 1.19 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8081, allocations: 0 / 1.19 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.8081, allocations: 0 / 1.19 GB, free: 3.145 MB / 0.9356 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.001207/0.8094, allocations: 0.9193 MB / 1.191 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.8094, allocations: 11.98 kB / 1.191 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.8103, allocations: 206.8 kB / 1.191 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.8111, allocations: 0.5056 MB / 1.192 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.8115, allocations: 109.2 kB / 1.192 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.8116, allocations: 59.98 kB / 1.192 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.8127, allocations: 0.7558 MB / 1.193 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.8127, allocations: 4 kB / 1.193 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.8128, allocations: 24 kB / 1.193 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.8128, allocations: 28.94 kB / 1.193 GB, free: 344 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009345/0.8138, allocations: 471.4 kB / 1.193 GB, free: 15.87 MB / 0.9512 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.003523/0.8173, allocations: 4.175 MB / 1.197 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.8174, allocations: 102.4 kB / 1.197 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.8175, allocations: 8.172 kB / 1.197 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.8175, allocations: 34.56 kB / 1.197 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.8175, allocations: 0 / 1.197 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0006405/0.8181, allocations: 240.6 kB / 1.198 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.8182, allocations: 132.5 kB / 1.198 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.8193, allocations: 0.8408 MB / 1.199 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.8193, allocations: 37.64 kB / 1.199 GB, free: 10 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.8196, allocations: 394.9 kB / 1.199 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.8196, allocations: 39.55 kB / 1.199 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.8196, allocations: 4 kB / 1.199 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8198, allocations: 325.9 kB / 1.199 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.8201, allocations: 115.9 kB / 1.199 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.8205, allocations: 345.9 kB / 1.2 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.8209, allocations: 167.9 kB / 1.2 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8209, allocations: 0 / 1.2 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009851/0.8219, allocations: 0.4889 MB / 1.2 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.8219, allocations: 8 kB / 1.2 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8219, allocations: 4.469 kB / 1.2 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.822, allocations: 12 kB / 1.2 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.8224, allocations: 95.83 kB / 1.201 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/0.8224, allocations: 20.17 kB / 1.201 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000935/0.8233, allocations: 127.1 kB / 1.201 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.8234, allocations: 24 kB / 1.201 GB, free: 7.742 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005411/0.824, allocations: 229.6 kB / 1.201 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.8242, allocations: 79 kB / 1.201 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.8243, allocations: 78.08 kB / 1.201 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8244, allocations: 4 kB / 1.201 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8244, allocations: 0 / 1.201 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.8244, allocations: 3.984 kB / 1.201 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.8262, allocations: 1.12 MB / 1.202 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.8262, allocations: 4 kB / 1.202 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.8263, allocations: 20.12 kB / 1.202 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.8263, allocations: 4.312 kB / 1.202 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.8263, allocations: 7.938 kB / 1.202 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.8264, allocations: 11.94 kB / 1.202 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8264, allocations: 4 kB / 1.202 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.8268, allocations: 363.2 kB / 1.203 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.8271, allocations: 168.2 kB / 1.203 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.8273, allocations: 7.984 kB / 1.203 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.8276, allocations: 23.98 kB / 1.203 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.8277, allocations: 23.88 kB / 1.203 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.8277, allocations: 7.938 kB / 1.203 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009992/0.8287, allocations: 0.5849 MB / 1.203 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8287, allocations: 0 / 1.203 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008436/0.8296, allocations: 155.8 kB / 1.204 GB, free: 4.641 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005978/0.8302, allocations: 201.5 kB / 1.204 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000679/0.8309, allocations: 229.1 kB / 1.204 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8309, allocations: 0 / 1.204 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.831, allocations: 48.61 kB / 1.204 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.8329, allocations: 357.8 kB / 1.204 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.8347, allocations: 1.238 MB / 1.206 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.8351, allocations: 0.9528 MB / 1.206 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004939/0.8356, allocations: 142.1 kB / 1.207 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8358, allocations: 47.44 kB / 1.207 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8358, allocations: 3.938 kB / 1.207 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of Templates: time 0.0186/0.8544, allocations: 10.87 MB / 1.217 GB, free: 6.691 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches