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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001381/0.001381, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001391/0.001391, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 65.95 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.9775/1.296, allocations: 187.1 MB / 1.134 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01672/1.313, allocations: 13.01 MB / 1.147 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/1.315, allocations: 32.31 kB / 1.147 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/1.317, allocations: 412.8 kB / 1.147 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/1.321, allocations: 0.9279 MB / 1.148 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/1.323, allocations: 0.705 MB / 1.149 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003027/1.326, allocations: 1.502 MB / 1.15 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/1.327, allocations: 0.6474 MB / 1.151 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/1.332, allocations: 1.723 MB / 1.152 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/1.334, allocations: 0.5082 MB / 1.153 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/1.334, allocations: 57.31 kB / 1.153 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/1.337, allocations: 0.8749 MB / 1.154 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003618/1.337, allocations: 274 kB / 1.154 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005349/1.337, allocations: 385.9 kB / 1.154 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/1.34, allocations: 1.171 MB / 1.156 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.34, allocations: 0 / 1.156 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.857e-06/1.34, allocations: 1.094 kB / 1.156 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.34, allocations: 0 / 1.156 GB, free: 2.551 MB / 0.8575 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.00175/1.342, allocations: 1.055 MB / 1.157 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.342, allocations: 9.906 kB / 1.157 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/1.343, allocations: 195 kB / 1.157 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.344, allocations: 0.5422 MB / 1.157 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/1.344, allocations: 49.97 kB / 1.157 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/1.344, allocations: 57.97 kB / 1.157 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.345, allocations: 0.769 MB / 1.158 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.345, allocations: 6.656 kB / 1.158 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/1.345, allocations: 31.41 kB / 1.158 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/1.345, allocations: 26.06 kB / 1.158 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/1.346, allocations: 466.3 kB / 1.159 GB, free: 16.63 MB / 0.8731 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.00436/1.35, allocations: 4.375 MB / 1.163 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/1.35, allocations: 106.8 kB / 1.163 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.351, allocations: 70.27 kB / 1.163 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/1.351, allocations: 97.05 kB / 1.163 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.351, allocations: 47.12 kB / 1.163 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/1.351, allocations: 0 / 1.163 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007911/1.352, allocations: 238.8 kB / 1.163 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/1.352, allocations: 137.5 kB / 1.164 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.353, allocations: 0.8443 MB / 1.164 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/1.353, allocations: 27.02 kB / 1.164 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/1.353, allocations: 400.8 kB / 1.165 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.353, allocations: 38.38 kB / 1.165 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.354, allocations: 92.61 kB / 1.165 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.354, allocations: 327.4 kB / 1.165 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/1.354, allocations: 111.8 kB / 1.165 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/1.355, allocations: 360.2 kB / 1.166 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/1.355, allocations: 449.2 kB / 1.166 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.355, allocations: 2.594 kB / 1.166 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009832/1.356, allocations: 0.491 MB / 1.167 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.356, allocations: 9.094 kB / 1.167 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.356, allocations: 7.938 kB / 1.167 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.356, allocations: 11.41 kB / 1.167 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/1.357, allocations: 96.62 kB / 1.167 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/1.357, allocations: 16.78 kB / 1.167 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.357, allocations: 116.4 kB / 1.167 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.357, allocations: 26.56 kB / 1.167 GB, free: 10.16 MB / 0.8731 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.0003282/1.358, allocations: 233.9 kB / 1.167 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.358, allocations: 74.94 kB / 1.167 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/1.358, allocations: 73.53 kB / 1.167 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/1.358, allocations: 2.125 kB / 1.167 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.358, allocations: 4.938 kB / 1.167 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.358, allocations: 2.891 kB / 1.167 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/1.36, allocations: 1.122 MB / 1.168 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.36, allocations: 2.281 kB / 1.168 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/1.36, allocations: 19.92 kB / 1.168 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/1.36, allocations: 3.875 kB / 1.168 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/1.36, allocations: 3.312 kB / 1.168 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.36, allocations: 5.594 kB / 1.168 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.36, allocations: 9.875 kB / 1.168 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/1.36, allocations: 271.7 kB / 1.169 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.36, allocations: 172.7 kB / 1.169 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/1.36, allocations: 3.625 kB / 1.169 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.361, allocations: 20.05 kB / 1.169 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/1.361, allocations: 10.58 kB / 1.169 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.361, allocations: 5.656 kB / 1.169 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008309/1.362, allocations: 0.594 MB / 1.169 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.81e-07/1.362, allocations: 1.281 kB / 1.169 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006527/1.362, allocations: 156.2 kB / 1.17 GB, free: 8.414 MB / 0.8731 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.0004775/1.363, allocations: 196.1 kB / 1.17 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005476/1.363, allocations: 247.9 kB / 1.17 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.363, allocations: 1.188 kB / 1.17 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/1.363, allocations: 48.12 kB / 1.17 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/1.365, allocations: 375.3 kB / 1.17 GB, free: 8.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/1.367, allocations: 1.055 MB / 1.171 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/1.367, allocations: 0.9391 MB / 1.172 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005011/1.368, allocations: 143.8 kB / 1.173 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/1.368, allocations: 48.36 kB / 1.173 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of SimCode: time 6.81e-07/1.368, allocations: 0 / 1.173 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of Templates: time 0.022/1.39, allocations: 11.72 MB / 1.184 GB, free: 2.562 MB / 0.8731 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 -s cvode -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