Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.009129/0.009129, allocations: 101.1 kB / 15.88 MB, free: 5.863 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.002103/0.002103, allocations: 190 kB / 16.79 MB, free: 5.805 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 68.34 kB / 0.899 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3374, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1906/0.528, allocations: 184.9 MB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.5437, allocations: 13.06 MB / 1.246 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.5452, allocations: 27.81 kB / 1.246 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.5464, allocations: 334.1 kB / 1.246 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.5489, allocations: 0.8752 MB / 1.247 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6727/1.222, allocations: 0.6141 MB / 1.248 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003481/1.225, allocations: 2.098 MB / 1.25 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/1.227, allocations: 0.5638 MB / 1.25 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/1.231, allocations: 1.592 MB / 1.252 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/1.233, allocations: 0.5352 MB / 1.253 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002457/1.233, allocations: 34.38 kB / 1.253 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/1.235, allocations: 0.9643 MB / 1.253 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005821/1.236, allocations: 261.2 kB / 1.254 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.237, allocations: 370.4 kB / 1.254 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/1.239, allocations: 0.8601 MB / 1.255 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.239, allocations: 1.094 kB / 1.255 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.239, allocations: 0 / 1.255 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.292e-05/1.239, allocations: 2.719 kB / 1.255 GB, free: 2.965 MB / 0.9981 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.002643/1.242, allocations: 1.049 MB / 1.256 GB, free: 18.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.242, allocations: 13.38 kB / 1.256 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.243, allocations: 194 kB / 1.256 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/1.244, allocations: 0.518 MB / 1.257 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/1.244, allocations: 109.6 kB / 1.257 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/1.244, allocations: 51.66 kB / 1.257 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.245, allocations: 0.7664 MB / 1.258 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.246, allocations: 5.625 kB / 1.258 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/1.246, allocations: 27.09 kB / 1.258 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/1.246, allocations: 22.41 kB / 1.258 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000917/1.247, allocations: 474.5 kB / 1.258 GB, free: 17.68 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.004078/1.251, allocations: 4.165 MB / 1.262 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/1.251, allocations: 103.5 kB / 1.262 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/1.251, allocations: 76.27 kB / 1.262 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/1.251, allocations: 99.77 kB / 1.262 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.251, allocations: 35.12 kB / 1.262 GB, free: 14.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/1.251, allocations: 0 / 1.262 GB, free: 14.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007027/1.252, allocations: 251.6 kB / 1.263 GB, free: 14.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.252, allocations: 132.9 kB / 1.263 GB, free: 14.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.253, allocations: 0.8327 MB / 1.264 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/1.253, allocations: 29.45 kB / 1.264 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/1.253, allocations: 401 kB / 1.264 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/1.253, allocations: 37.55 kB / 1.264 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.254, allocations: 79.2 kB / 1.264 GB, free: 13.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.254, allocations: 322.9 kB / 1.264 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/1.254, allocations: 110.9 kB / 1.265 GB, free: 13.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/1.254, allocations: 350 kB / 1.265 GB, free: 13.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/1.255, allocations: 414.8 kB / 1.265 GB, free: 12.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/1.255, allocations: 7.344 kB / 1.265 GB, free: 12.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/1.256, allocations: 488.2 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/1.256, allocations: 14.09 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.256, allocations: 7.641 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.256, allocations: 9.906 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/1.256, allocations: 94.73 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/1.256, allocations: 13.31 kB / 1.266 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/1.257, allocations: 124.8 kB / 1.266 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/1.257, allocations: 22.98 kB / 1.266 GB, free: 12.7 MB / 1.014 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.0003168/1.258, allocations: 231.8 kB / 1.266 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/1.258, allocations: 74.8 kB / 1.266 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/1.258, allocations: 70.41 kB / 1.266 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.258, allocations: 3.125 kB / 1.266 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.258, allocations: 0.9375 kB / 1.266 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.258, allocations: 5.203 kB / 1.266 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/1.26, allocations: 1.125 MB / 1.267 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/1.26, allocations: 2.562 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/1.26, allocations: 23.81 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.26, allocations: 2.656 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/1.26, allocations: 9.219 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.26, allocations: 3.891 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.26, allocations: 6.5 kB / 1.268 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/1.26, allocations: 263.5 kB / 1.268 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/1.26, allocations: 171.8 kB / 1.268 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.261, allocations: 12.2 kB / 1.268 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/1.261, allocations: 17.84 kB / 1.268 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/1.261, allocations: 12.25 kB / 1.268 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.261, allocations: 9.031 kB / 1.268 GB, free: 11.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001185/1.262, allocations: 0.5818 MB / 1.269 GB, free: 11.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.262, allocations: 5.203 kB / 1.269 GB, free: 11.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007692/1.263, allocations: 153.1 kB / 1.269 GB, free: 11.4 MB / 1.014 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.0005242/1.263, allocations: 199.8 kB / 1.269 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005789/1.264, allocations: 234.9 kB / 1.269 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.264, allocations: 1.156 kB / 1.269 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/1.264, allocations: 50 kB / 1.269 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.266, allocations: 361.5 kB / 1.27 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/1.268, allocations: 1.298 MB / 1.271 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.269, allocations: 0.9374 MB / 1.272 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/1.269, allocations: 49.72 kB / 1.272 GB, free: 9.793 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.269, allocations: 0 / 1.272 GB, free: 9.793 MB / 1.014 GB Notification: Performance of Templates: time 0.02657/1.296, allocations: 10.63 MB / 1.282 GB, free: 8.926 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches