Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001571/0.001571, allocations: 105.9 kB / 15.98 MB, free: 6.344 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.002151/0.002151, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 64.88 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3535, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.7386/1.092, allocations: 184.7 MB / 1.244 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.111, allocations: 12.92 MB / 1.257 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/1.113, allocations: 23.88 kB / 1.257 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/1.115, allocations: 354.1 kB / 1.257 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002688/1.118, allocations: 0.8597 MB / 1.258 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/1.12, allocations: 0.635 MB / 1.259 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002429/1.122, allocations: 1.497 MB / 1.26 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/1.123, allocations: 0.6273 MB / 1.261 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/1.128, allocations: 1.685 MB / 1.263 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/1.129, allocations: 0.542 MB / 1.263 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/1.129, allocations: 56 kB / 1.263 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/1.131, allocations: 0.9041 MB / 1.264 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/1.131, allocations: 291.2 kB / 1.264 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000513/1.132, allocations: 382 kB / 1.265 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/1.133, allocations: 0.8655 MB / 1.266 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.133, allocations: 0 / 1.266 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/1.133, allocations: 0 / 1.266 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.057e-05/1.133, allocations: 4 kB / 1.266 GB, free: 10.84 MB / 0.9825 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.001691/1.135, allocations: 1.048 MB / 1.267 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.135, allocations: 8.031 kB / 1.267 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009843/1.136, allocations: 202.8 kB / 1.267 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/1.137, allocations: 0.5169 MB / 1.267 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/1.137, allocations: 105.2 kB / 1.267 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/1.137, allocations: 56 kB / 1.267 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.139, allocations: 0.7558 MB / 1.268 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.139, allocations: 4 kB / 1.268 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.893e-05/1.139, allocations: 31.94 kB / 1.268 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/1.139, allocations: 21 kB / 1.268 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/1.14, allocations: 471.3 kB / 1.269 GB, free: 7.445 MB / 0.9825 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.004449/1.144, allocations: 4.167 MB / 1.273 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/1.145, allocations: 110.4 kB / 1.273 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/1.145, allocations: 71.58 kB / 1.273 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/1.145, allocations: 97.09 kB / 1.273 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.145, allocations: 43.12 kB / 1.273 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/1.145, allocations: 0 / 1.273 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007049/1.146, allocations: 228.7 kB / 1.273 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.146, allocations: 144.7 kB / 1.273 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.147, allocations: 0.8329 MB / 1.274 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/1.147, allocations: 25.7 kB / 1.274 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/1.147, allocations: 406.9 kB / 1.275 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/1.147, allocations: 35.55 kB / 1.275 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.148, allocations: 85.5 kB / 1.275 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.148, allocations: 325.9 kB / 1.275 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/1.148, allocations: 107.9 kB / 1.275 GB, free: 436 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/1.149, allocations: 349.8 kB / 1.276 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/1.149, allocations: 410.5 kB / 1.276 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.149, allocations: 7.938 kB / 1.276 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009887/1.15, allocations: 484.6 kB / 1.276 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.15, allocations: 8 kB / 1.276 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.15, allocations: 4.75 kB / 1.276 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.15, allocations: 12 kB / 1.276 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/1.151, allocations: 99.81 kB / 1.277 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.151, allocations: 11.94 kB / 1.277 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/1.151, allocations: 124.3 kB / 1.277 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/1.151, allocations: 23.94 kB / 1.277 GB, free: 14.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0003005/1.152, allocations: 233.6 kB / 1.277 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/1.152, allocations: 71.16 kB / 1.277 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.152, allocations: 78.08 kB / 1.277 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.152, allocations: 0 / 1.277 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/1.152, allocations: 4 kB / 1.277 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.152, allocations: 0 / 1.277 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.154, allocations: 1.132 MB / 1.278 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.154, allocations: 4.312 kB / 1.278 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/1.154, allocations: 27.86 kB / 1.278 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/1.154, allocations: 4 kB / 1.278 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/1.154, allocations: 4 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.154, allocations: 4 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.154, allocations: 0.875 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/1.154, allocations: 267.7 kB / 1.278 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/1.154, allocations: 172.2 kB / 1.279 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/1.154, allocations: 4 kB / 1.279 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/1.155, allocations: 19.98 kB / 1.279 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/1.155, allocations: 15.92 kB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/1.155, allocations: 4 kB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008417/1.156, allocations: 0.5888 MB / 1.279 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.156, allocations: 0 / 1.279 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000576/1.156, allocations: 159.8 kB / 1.279 GB, free: 11.78 MB / 0.9981 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.0005151/1.157, allocations: 197.8 kB / 1.28 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005537/1.157, allocations: 233 kB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.157, allocations: 0 / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/1.157, allocations: 52.53 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.159, allocations: 376 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.161, allocations: 1.309 MB / 1.281 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/1.161, allocations: 0.9446 MB / 1.282 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.162, allocations: 51.44 kB / 1.282 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.162, allocations: 0 / 1.282 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of Templates: time 0.01877/1.18, allocations: 10.61 MB / 1.293 GB, free: 14.08 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches