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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001351/0.001351, allocations: 107.4 kB / 16.27 MB, free: 5.973 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.001352/0.001352, allocations: 189.3 kB / 17.2 MB, free: 5.598 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 / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.61 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7665, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2248/0.9914, allocations: 187.2 MB / 1.266 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01788/1.009, allocations: 13.01 MB / 1.278 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.011, allocations: 35.81 kB / 1.278 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/1.012, allocations: 413.3 kB / 1.279 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.014, allocations: 0.9097 MB / 1.28 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/1.016, allocations: 0.7029 MB / 1.28 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00203/1.018, allocations: 1.496 MB / 1.282 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/1.019, allocations: 0.6585 MB / 1.282 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004226/1.024, allocations: 1.806 MB / 1.284 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/1.025, allocations: 0.5016 MB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/1.025, allocations: 56 kB / 1.285 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/1.027, allocations: 0.8613 MB / 1.286 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/1.027, allocations: 275.2 kB / 1.286 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004937/1.028, allocations: 394 kB / 1.286 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/1.03, allocations: 1.153 MB / 1.287 GB, free: 12.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.03, allocations: 0 / 1.287 GB, free: 12.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.03, allocations: 3.938 kB / 1.287 GB, free: 12.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.03, allocations: 0 / 1.287 GB, free: 12.81 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.001596/1.031, allocations: 1.059 MB / 1.288 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.031, allocations: 8.031 kB / 1.288 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/1.032, allocations: 182.9 kB / 1.289 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/1.033, allocations: 0.5208 MB / 1.289 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/1.033, allocations: 109.2 kB / 1.289 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/1.034, allocations: 55.94 kB / 1.289 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/1.035, allocations: 0.7789 MB / 1.29 GB, free: 9.902 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/1.035, allocations: 7.938 kB / 1.29 GB, free: 9.895 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/1.035, allocations: 35.92 kB / 1.29 GB, free: 9.859 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.035, allocations: 21 kB / 1.29 GB, free: 9.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/1.036, allocations: 467.3 kB / 1.291 GB, free: 9.379 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.0047/1.041, allocations: 4.481 MB / 1.295 GB, free: 4.648 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/1.041, allocations: 106.4 kB / 1.295 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.041, allocations: 71.58 kB / 1.295 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.041, allocations: 93.09 kB / 1.295 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/1.041, allocations: 50.5 kB / 1.295 GB, free: 4.258 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/1.041, allocations: 0 / 1.295 GB, free: 4.258 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007131/1.042, allocations: 236.6 kB / 1.295 GB, free: 4.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/1.042, allocations: 136.7 kB / 1.296 GB, free: 3.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/1.043, allocations: 0.8525 MB / 1.296 GB, free: 2.988 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/1.043, allocations: 25.7 kB / 1.296 GB, free: 2.957 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/1.044, allocations: 406.8 kB / 1.297 GB, free: 2.555 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/1.044, allocations: 39.55 kB / 1.297 GB, free: 2.516 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.044, allocations: 89.88 kB / 1.297 GB, free: 2.422 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.044, allocations: 321.9 kB / 1.297 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/1.045, allocations: 116.7 kB / 1.297 GB, free: 1.988 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/1.045, allocations: 369.7 kB / 1.298 GB, free: 1.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/1.046, allocations: 445.5 kB / 1.298 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.046, allocations: 4 kB / 1.298 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001006/1.047, allocations: 0.5006 MB / 1.299 GB, free: 468 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.047, allocations: 8 kB / 1.299 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.047, allocations: 8 kB / 1.299 GB, free: 452 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/1.047, allocations: 12 kB / 1.299 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.047, allocations: 99.81 kB / 1.299 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/1.047, allocations: 16.19 kB / 1.299 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/1.048, allocations: 130.8 kB / 1.299 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.048, allocations: 24 kB / 1.299 GB, free: 168 kB / 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.0002915/1.048, allocations: 226.2 kB / 1.299 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/1.049, allocations: 71.62 kB / 1.299 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/1.049, allocations: 78.06 kB / 1.299 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.049, allocations: 4 kB / 1.299 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.049, allocations: 0 / 1.299 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.049, allocations: 11.91 kB / 1.299 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.05, allocations: 1.124 MB / 1.3 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.05, allocations: 0 / 1.3 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/1.05, allocations: 19.94 kB / 1.3 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.05, allocations: 4 kB / 1.3 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/1.05, allocations: 8 kB / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.05, allocations: 128 / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.05, allocations: 15.92 kB / 1.3 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/1.051, allocations: 268 kB / 1.301 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/1.051, allocations: 164.2 kB / 1.301 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/1.051, allocations: 4 kB / 1.301 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/1.051, allocations: 23.97 kB / 1.301 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/1.051, allocations: 7.938 kB / 1.301 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/1.051, allocations: 15.94 kB / 1.301 GB, free: 13.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008886/1.052, allocations: 0.5927 MB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.052, allocations: 3.938 kB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005835/1.053, allocations: 159.8 kB / 1.302 GB, free: 13.22 MB / 1.029 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.0004983/1.053, allocations: 182.4 kB / 1.302 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005673/1.054, allocations: 240.8 kB / 1.302 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.054, allocations: 0.6875 kB / 1.302 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/1.054, allocations: 55.84 kB / 1.302 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.056, allocations: 380.5 kB / 1.302 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.057, allocations: 1.129 MB / 1.304 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/1.058, allocations: 0.9331 MB / 1.304 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.058, allocations: 59.42 kB / 1.305 GB, free: 10.19 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.058, allocations: 0 / 1.305 GB, free: 10.19 MB / 1.029 GB Notification: Performance of Templates: time 0.01725/1.075, allocations: 10.69 MB / 1.315 GB, free: 15.61 MB / 1.045 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=400 -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","/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