Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.989/2.989, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.82e-05/4.076e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 1.157/1.157, allocations: 165.3 MB / 1.143 GB, free: 45.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01483/1.171, allocations: 11.94 MB / 1.155 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/1.173, allocations: 40.84 kB / 1.155 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/1.175, allocations: 418.9 kB / 1.155 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/1.178, allocations: 0.9658 MB / 1.156 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.18, allocations: 0.7809 MB / 1.157 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002533/1.183, allocations: 1.508 MB / 1.158 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009387/1.184, allocations: 0.49 MB / 1.159 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005121/1.189, allocations: 2.048 MB / 1.161 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.19, allocations: 463.7 kB / 1.161 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/1.19, allocations: 54.19 kB / 1.161 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/1.192, allocations: 0.7267 MB / 1.162 GB, free: 44.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/1.192, allocations: 300.3 kB / 1.162 GB, free: 44.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/1.193, allocations: 259.2 kB / 1.162 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/1.194, allocations: 1.18 MB / 1.164 GB, free: 44.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.194, allocations: 0.9062 kB / 1.164 GB, free: 44.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.202e-06/1.194, allocations: 0 / 1.164 GB, free: 44.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.194, allocations: 0 / 1.164 GB, free: 44.65 MB / 1.076 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.001356/1.196, allocations: 0.9949 MB / 1.165 GB, free: 44.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.196, allocations: 7.75 kB / 1.165 GB, free: 44.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/1.197, allocations: 198.4 kB / 1.165 GB, free: 44.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/1.198, allocations: 0.4895 MB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/1.198, allocations: 44.44 kB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/1.198, allocations: 59.5 kB / 1.165 GB, free: 43.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.199, allocations: 0.795 MB / 1.166 GB, free: 43.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.199, allocations: 9.938 kB / 1.166 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/1.199, allocations: 29.5 kB / 1.166 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/1.199, allocations: 24.23 kB / 1.166 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008902/1.2, allocations: 458 kB / 1.167 GB, free: 43.43 MB / 1.076 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.003204/1.203, allocations: 3.856 MB / 1.17 GB, free: 40.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/1.203, allocations: 99.66 kB / 1.17 GB, free: 40.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/1.203, allocations: 76.09 kB / 1.171 GB, free: 40.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/1.204, allocations: 15.02 kB / 1.171 GB, free: 40.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.204, allocations: 39.62 kB / 1.171 GB, free: 40.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/1.204, allocations: 0.9062 kB / 1.171 GB, free: 40.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0006639/1.204, allocations: 203.9 kB / 1.171 GB, free: 40.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/1.204, allocations: 135.3 kB / 1.171 GB, free: 40.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/1.205, allocations: 0.5869 MB / 1.171 GB, free: 39.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/1.205, allocations: 29.08 kB / 1.171 GB, free: 39.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/1.206, allocations: 436.2 kB / 1.172 GB, free: 39.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/1.206, allocations: 42.25 kB / 1.172 GB, free: 39.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/1.206, allocations: 89.39 kB / 1.172 GB, free: 39.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.206, allocations: 356.1 kB / 1.172 GB, free: 39.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.206, allocations: 114.4 kB / 1.172 GB, free: 39.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/1.207, allocations: 0.5161 MB / 1.173 GB, free: 38.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/1.207, allocations: 441.4 kB / 1.173 GB, free: 38.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.207, allocations: 3.406 kB / 1.173 GB, free: 38.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00101/1.208, allocations: 487.7 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/1.208, allocations: 12.97 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.208, allocations: 9.5 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/1.209, allocations: 11.47 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/1.209, allocations: 98.55 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/1.209, allocations: 13.69 kB / 1.174 GB, free: 38.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/1.21, allocations: 77.2 kB / 1.174 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/1.21, allocations: 26 kB / 1.174 GB, free: 38.44 MB / 1.076 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.0004155/1.21, allocations: 236.2 kB / 1.174 GB, free: 38.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.21, allocations: 55.88 kB / 1.174 GB, free: 38.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.21, allocations: 62.36 kB / 1.174 GB, free: 38.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.21, allocations: 0.9062 kB / 1.174 GB, free: 38.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.21, allocations: 2.688 kB / 1.174 GB, free: 38.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.21, allocations: 1 kB / 1.174 GB, free: 38.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.212, allocations: 0.9879 MB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.212, allocations: 3.281 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/1.212, allocations: 21.38 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/1.212, allocations: 3.438 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.212, allocations: 8.938 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/1.212, allocations: 6.875 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.212, allocations: 5.844 kB / 1.175 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/1.212, allocations: 239 kB / 1.176 GB, free: 37.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.212, allocations: 67.7 kB / 1.176 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/1.212, allocations: 6.375 kB / 1.176 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/1.212, allocations: 18.75 kB / 1.176 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/1.213, allocations: 20.03 kB / 1.176 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.213, allocations: 5.469 kB / 1.176 GB, free: 37.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005279/1.213, allocations: 403.2 kB / 1.176 GB, free: 37.37 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.213, allocations: 0 / 1.176 GB, free: 37.37 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000767/1.214, allocations: 181.2 kB / 1.176 GB, free: 37.33 MB / 1.076 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.0005644/1.214, allocations: 188.9 kB / 1.177 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005459/1.215, allocations: 235.3 kB / 1.177 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.215, allocations: 1.812 kB / 1.177 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.215, allocations: 49.11 kB / 1.177 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.216, allocations: 203.4 kB / 1.177 GB, free: 37.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/1.218, allocations: 1.019 MB / 1.178 GB, free: 36.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/1.219, allocations: 345.2 kB / 1.178 GB, free: 36.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004244/1.219, allocations: 115.1 kB / 1.178 GB, free: 36.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/1.219, allocations: 37.86 kB / 1.178 GB, free: 36.57 MB / 1.076 GB Notification: Performance of SimCode: time 4.2e-07/1.219, allocations: 0.8438 kB / 1.178 GB, free: 36.57 MB / 1.076 GB Notification: Performance of Templates: time 0.02017/1.239, allocations: 7.605 MB / 1.186 GB, free: 35.87 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.226317688822746]