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.001453/0.001453, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001527/0.001527, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 59.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9311/0.9326, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2276/1.16, allocations: 187.1 MB / 1.271 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0173/1.178, allocations: 13.02 MB / 1.284 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/1.179, allocations: 31.81 kB / 1.284 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/1.181, allocations: 417.3 kB / 1.284 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/1.184, allocations: 0.9565 MB / 1.285 GB, free: 4.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/1.186, allocations: 0.7148 MB / 1.286 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002382/1.188, allocations: 1.512 MB / 1.288 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/1.189, allocations: 0.6602 MB / 1.288 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/1.193, allocations: 1.779 MB / 1.29 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/1.195, allocations: 0.5011 MB / 1.29 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/1.195, allocations: 52 kB / 1.291 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/1.197, allocations: 0.8809 MB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/1.197, allocations: 283.2 kB / 1.292 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004352/1.197, allocations: 382 kB / 1.292 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/1.199, allocations: 1.176 MB / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.199, allocations: 4 kB / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/1.199, allocations: 0 / 1.293 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.199, allocations: 0 / 1.293 GB, free: 12.12 MB / 1.029 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.001453/1.201, allocations: 1.044 MB / 1.294 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.201, allocations: 12.03 kB / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/1.202, allocations: 194.8 kB / 1.294 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/1.202, allocations: 0.548 MB / 1.295 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/1.202, allocations: 45.31 kB / 1.295 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/1.202, allocations: 60 kB / 1.295 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.204, allocations: 0.7789 MB / 1.296 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.204, allocations: 7.938 kB / 1.296 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/1.204, allocations: 27.94 kB / 1.296 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/1.204, allocations: 24.98 kB / 1.296 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/1.205, allocations: 459.3 kB / 1.296 GB, free: 8.73 MB / 1.029 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.003827/1.209, allocations: 4.378 MB / 1.301 GB, free: 4.121 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/1.209, allocations: 106.4 kB / 1.301 GB, free: 3.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.209, allocations: 75.5 kB / 1.301 GB, free: 3.895 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.209, allocations: 97.09 kB / 1.301 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.209, allocations: 30.56 kB / 1.301 GB, free: 3.742 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 3.356e-06/1.209, allocations: 0 / 1.301 GB, free: 3.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006804/1.21, allocations: 249 kB / 1.301 GB, free: 3.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/1.21, allocations: 132.5 kB / 1.301 GB, free: 3.332 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.211, allocations: 0.841 MB / 1.302 GB, free: 2.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/1.211, allocations: 33.7 kB / 1.302 GB, free: 2.438 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/1.211, allocations: 402.8 kB / 1.302 GB, free: 2.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/1.211, allocations: 39.55 kB / 1.302 GB, free: 2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.211, allocations: 89.88 kB / 1.303 GB, free: 1.906 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.212, allocations: 321.9 kB / 1.303 GB, free: 1.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.212, allocations: 116.7 kB / 1.303 GB, free: 1.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/1.212, allocations: 369.8 kB / 1.303 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/1.213, allocations: 441.6 kB / 1.304 GB, free: 468 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.213, allocations: 4 kB / 1.304 GB, free: 464 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000914/1.214, allocations: 0.4928 MB / 1.304 GB, free: 15.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.214, allocations: 8 kB / 1.304 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.214, allocations: 8 kB / 1.304 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.214, allocations: 15.98 kB / 1.304 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/1.214, allocations: 91.83 kB / 1.304 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.214, allocations: 15.94 kB / 1.304 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/1.215, allocations: 111.2 kB / 1.304 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/1.215, allocations: 31.92 kB / 1.305 GB, free: 15.68 MB / 1.045 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.0002585/1.215, allocations: 226.1 kB / 1.305 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/1.215, allocations: 79.06 kB / 1.305 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/1.215, allocations: 74.17 kB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.216, allocations: 4 kB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.216, allocations: 0 / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.216, allocations: 0 / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.217, allocations: 1.124 MB / 1.306 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/1.217, allocations: 7.984 kB / 1.306 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-05/1.217, allocations: 15.94 kB / 1.306 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.217, allocations: 4 kB / 1.306 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/1.217, allocations: 8.312 kB / 1.306 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.217, allocations: 8 kB / 1.306 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.217, allocations: 0 / 1.306 GB, free: 14.03 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/1.217, allocations: 267.9 kB / 1.306 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/1.217, allocations: 168.1 kB / 1.306 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/1.218, allocations: 12 kB / 1.306 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/1.218, allocations: 11.98 kB / 1.306 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/1.218, allocations: 23.92 kB / 1.306 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.218, allocations: 4 kB / 1.306 GB, free: 13.49 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008245/1.219, allocations: 0.5849 MB / 1.307 GB, free: 12.91 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.81e-07/1.219, allocations: 4 kB / 1.307 GB, free: 12.91 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005946/1.219, allocations: 155.8 kB / 1.307 GB, free: 12.75 MB / 1.045 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.0004959/1.22, allocations: 197.5 kB / 1.307 GB, free: 12.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005307/1.22, allocations: 236.4 kB / 1.308 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.22, allocations: 1.125 kB / 1.308 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/1.221, allocations: 52.3 kB / 1.308 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.222, allocations: 381 kB / 1.308 GB, free: 11.92 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/1.224, allocations: 1.11 MB / 1.309 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/1.224, allocations: 0.9369 MB / 1.31 GB, free: 9.781 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.224, allocations: 51.44 kB / 1.31 GB, free: 9.73 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.224, allocations: 0 / 1.31 GB, free: 9.73 MB / 1.045 GB Notification: Performance of Templates: time 0.01666/1.241, allocations: 10.75 MB / 1.321 GB, free: 15.1 MB / 1.061 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches