Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007987/0.007987, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.00165/0.00165, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.94 kB / 0.9509 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.9197/1.241, allocations: 187.1 MB / 1.271 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01716/1.258, allocations: 13.03 MB / 1.283 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/1.26, allocations: 32.31 kB / 1.283 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/1.262, allocations: 412.5 kB / 1.284 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003136/1.265, allocations: 0.9242 MB / 1.285 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/1.268, allocations: 0.7129 MB / 1.285 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003886/1.272, allocations: 1.495 MB / 1.287 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/1.273, allocations: 0.661 MB / 1.287 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/1.279, allocations: 1.731 MB / 1.289 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/1.281, allocations: 0.5009 MB / 1.29 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/1.281, allocations: 54.12 kB / 1.29 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/1.283, allocations: 0.879 MB / 1.291 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004354/1.284, allocations: 269.4 kB / 1.291 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/1.284, allocations: 388.7 kB / 1.291 GB, free: 3.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002242/1.287, allocations: 1.173 MB / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.287, allocations: 0.9375 kB / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.287, allocations: 0 / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.287, allocations: 1.625 kB / 1.292 GB, free: 3.141 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.001517/1.288, allocations: 1.049 MB / 1.293 GB, free: 2.488 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.288, allocations: 9.688 kB / 1.293 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.289, allocations: 194 kB / 1.294 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/1.29, allocations: 0.5533 MB / 1.294 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/1.29, allocations: 43.95 kB / 1.294 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/1.29, allocations: 60.22 kB / 1.294 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/1.291, allocations: 0.7723 MB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.291, allocations: 6.375 kB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/1.291, allocations: 26.86 kB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/1.291, allocations: 22.41 kB / 1.295 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/1.292, allocations: 465.2 kB / 1.295 GB, free: 1.844 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.003859/1.296, allocations: 4.382 MB / 1.3 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/1.296, allocations: 107 kB / 1.3 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.297, allocations: 78.28 kB / 1.3 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.297, allocations: 98.14 kB / 1.3 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.297, allocations: 38.06 kB / 1.3 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/1.297, allocations: 1 kB / 1.3 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0007041/1.297, allocations: 243.2 kB / 1.3 GB, free: 14.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/1.298, allocations: 130.7 kB / 1.3 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/1.299, allocations: 0.8455 MB / 1.301 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.299, allocations: 31.61 kB / 1.301 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/1.299, allocations: 403.7 kB / 1.302 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/1.299, allocations: 36.77 kB / 1.302 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/1.299, allocations: 90.17 kB / 1.302 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.299, allocations: 325.3 kB / 1.302 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.3, allocations: 109.3 kB / 1.302 GB, free: 13.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/1.3, allocations: 369.6 kB / 1.303 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/1.301, allocations: 435.1 kB / 1.303 GB, free: 12.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.301, allocations: 2.469 kB / 1.303 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009403/1.302, allocations: 0.4998 MB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.302, allocations: 8.531 kB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.302, allocations: 8.656 kB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/1.302, allocations: 10.95 kB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/1.302, allocations: 95.67 kB / 1.304 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.302, allocations: 16.42 kB / 1.304 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/1.303, allocations: 114.3 kB / 1.304 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/1.303, allocations: 27.05 kB / 1.304 GB, free: 12.62 MB / 1.029 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.0002966/1.303, allocations: 227.2 kB / 1.304 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/1.303, allocations: 79.88 kB / 1.304 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.304, allocations: 74.16 kB / 1.304 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.304, allocations: 3.469 kB / 1.304 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.304, allocations: 1.531 kB / 1.304 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.304, allocations: 5.953 kB / 1.304 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/1.305, allocations: 1.121 MB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.305, allocations: 3.578 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/1.305, allocations: 18 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.305, allocations: 6.781 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.305, allocations: 9.781 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.305, allocations: 4.531 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.305, allocations: 2.594 kB / 1.305 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/1.305, allocations: 262.7 kB / 1.305 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/1.306, allocations: 174.4 kB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.306, allocations: 11.75 kB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/1.306, allocations: 18.38 kB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/1.306, allocations: 11.23 kB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/1.306, allocations: 13.73 kB / 1.306 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008146/1.307, allocations: 0.5861 MB / 1.306 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.307, allocations: 0.8438 kB / 1.306 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006646/1.308, allocations: 153.5 kB / 1.306 GB, free: 11.34 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.0004961/1.308, allocations: 188 kB / 1.307 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005713/1.309, allocations: 242.6 kB / 1.307 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.309, allocations: 1.203 kB / 1.307 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/1.309, allocations: 54.09 kB / 1.307 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.31, allocations: 380.1 kB / 1.307 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.312, allocations: 1.055 MB / 1.308 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/1.313, allocations: 0.939 MB / 1.309 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004913/1.313, allocations: 153.2 kB / 1.309 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/1.313, allocations: 47.91 kB / 1.309 GB, free: 9.941 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.313, allocations: 0 / 1.309 GB, free: 9.941 MB / 1.029 GB Notification: Performance of Templates: time 0.02296/1.336, allocations: 12 MB / 1.321 GB, free: 9.176 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches