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.0107/0.0107, allocations: 98.55 kB / 15.73 MB, free: 6.039 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.001526/0.001525, allocations: 201.3 kB / 16.68 MB, free: 5.965 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.512/2.512, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.36 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 1.033/1.395, allocations: 187.1 MB / 1.271 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.411, allocations: 13.02 MB / 1.283 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/1.413, allocations: 32.56 kB / 1.283 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/1.414, allocations: 423.7 kB / 1.284 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.417, allocations: 0.9609 MB / 1.285 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/1.419, allocations: 0.7178 MB / 1.285 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002208/1.422, allocations: 1.504 MB / 1.287 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009689/1.422, allocations: 0.653 MB / 1.288 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/1.427, allocations: 1.777 MB / 1.289 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/1.428, allocations: 0.5092 MB / 1.29 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/1.428, allocations: 54.84 kB / 1.29 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/1.43, allocations: 0.8842 MB / 1.291 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/1.431, allocations: 279.8 kB / 1.291 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004974/1.431, allocations: 386.1 kB / 1.291 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/1.433, allocations: 1.171 MB / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.433, allocations: 0.8438 kB / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.605e-06/1.433, allocations: 1.125 kB / 1.292 GB, free: 3.141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.968e-05/1.433, allocations: 2.016 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.001492/1.435, allocations: 1.081 MB / 1.294 GB, free: 2.457 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.435, allocations: 9.312 kB / 1.294 GB, free: 2.457 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/1.436, allocations: 187.8 kB / 1.294 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/1.437, allocations: 0.5625 MB / 1.294 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/1.437, allocations: 47.09 kB / 1.294 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/1.437, allocations: 56.53 kB / 1.294 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.438, allocations: 0.7799 MB / 1.295 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.438, allocations: 5.219 kB / 1.295 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/1.438, allocations: 26.03 kB / 1.295 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/1.438, allocations: 22.75 kB / 1.295 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/1.439, allocations: 462.3 kB / 1.296 GB, free: 1.805 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.003763/1.443, allocations: 4.387 MB / 1.3 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/1.443, allocations: 108.2 kB / 1.3 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/1.443, allocations: 77.06 kB / 1.3 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.443, allocations: 97.81 kB / 1.3 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.443, allocations: 37.23 kB / 1.3 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/1.443, allocations: 2.016 kB / 1.3 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0006946/1.444, allocations: 248 kB / 1.3 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/1.444, allocations: 136.2 kB / 1.301 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/1.445, allocations: 0.8406 MB / 1.301 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/1.445, allocations: 27.05 kB / 1.301 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/1.446, allocations: 410.4 kB / 1.302 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/1.446, allocations: 42.66 kB / 1.302 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.446, allocations: 91.03 kB / 1.302 GB, free: 13.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.446, allocations: 322.5 kB / 1.302 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/1.446, allocations: 113.3 kB / 1.302 GB, free: 13.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/1.447, allocations: 363.9 kB / 1.303 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/1.447, allocations: 442.5 kB / 1.303 GB, free: 12.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.447, allocations: 3.125 kB / 1.303 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009933/1.448, allocations: 0.4986 MB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.448, allocations: 8.031 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.448, allocations: 8.781 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.449, allocations: 11.38 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/1.449, allocations: 98.88 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/1.449, allocations: 14.95 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/1.45, allocations: 115.7 kB / 1.304 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/1.45, allocations: 21.89 kB / 1.304 GB, free: 12.56 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.0002733/1.45, allocations: 227.5 kB / 1.304 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/1.45, allocations: 86.91 kB / 1.304 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/1.45, allocations: 82.12 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.45, allocations: 2.094 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.45, allocations: 2.812 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/1.45, allocations: 1.062 kB / 1.304 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/1.452, allocations: 1.117 MB / 1.305 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.452, allocations: 3.281 kB / 1.305 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/1.452, allocations: 21.12 kB / 1.305 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.452, allocations: 3.75 kB / 1.305 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/1.452, allocations: 11.44 kB / 1.305 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.452, allocations: 2.594 kB / 1.305 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.452, allocations: 5.219 kB / 1.305 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/1.452, allocations: 265 kB / 1.306 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/1.452, allocations: 181.4 kB / 1.306 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.453, allocations: 12.31 kB / 1.306 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/1.453, allocations: 17.14 kB / 1.306 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/1.453, allocations: 15.86 kB / 1.306 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.453, allocations: 5.594 kB / 1.306 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008256/1.454, allocations: 0.5842 MB / 1.306 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.454, allocations: 0.75 kB / 1.306 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006634/1.455, allocations: 156.8 kB / 1.307 GB, free: 11.27 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.000452/1.455, allocations: 192.4 kB / 1.307 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005444/1.456, allocations: 255.3 kB / 1.307 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.456, allocations: 0 / 1.307 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/1.456, allocations: 47.98 kB / 1.307 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.457, allocations: 375.8 kB / 1.307 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.459, allocations: 1.065 MB / 1.308 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/1.46, allocations: 0.9406 MB / 1.309 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004461/1.46, allocations: 152.7 kB / 1.31 GB, free: 9.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/1.46, allocations: 48.16 kB / 1.31 GB, free: 9.852 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/1.46, allocations: 0 / 1.31 GB, free: 9.852 MB / 1.029 GB Notification: Performance of Templates: time 0.02419/1.484, allocations: 11.82 MB / 1.321 GB, free: 9.156 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