Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 109.4 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 192.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8706/1.193, allocations: 171 MB / 1.343 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007593/1.2, allocations: 4.29 MB / 1.347 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/1.201, allocations: 22.38 kB / 1.347 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/1.202, allocations: 352.1 kB / 1.347 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/1.205, allocations: 0.9957 MB / 1.348 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/1.208, allocations: 0.8179 MB / 1.349 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00206/1.21, allocations: 1.304 MB / 1.35 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/1.211, allocations: 484.7 kB / 1.351 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/1.212, allocations: 0.6715 MB / 1.352 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/1.214, allocations: 451.5 kB / 1.352 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/1.214, allocations: 55.94 kB / 1.352 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/1.216, allocations: 0.909 MB / 1.353 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/1.216, allocations: 215.4 kB / 1.353 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004289/1.216, allocations: 327.3 kB / 1.353 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/1.218, allocations: 1.141 MB / 1.355 GB, free: 9.961 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.218, allocations: 0 / 1.355 GB, free: 9.961 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/1.218, allocations: 0 / 1.355 GB, free: 9.961 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.219, allocations: 1.281 kB / 1.355 GB, free: 9.961 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001896/1.22, allocations: 0.967 MB / 1.355 GB, free: 9.254 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.22, allocations: 9.469 kB / 1.355 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/1.222, allocations: 267.4 kB / 1.356 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/1.223, allocations: 0.4945 MB / 1.356 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/1.223, allocations: 32.97 kB / 1.356 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/1.223, allocations: 39.19 kB / 1.356 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.224, allocations: 0.6187 MB / 1.357 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.225, allocations: 3.938 kB / 1.357 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/1.225, allocations: 17.34 kB / 1.357 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/1.225, allocations: 17.81 kB / 1.357 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.226, allocations: 0.5503 MB / 1.357 GB, free: 8.371 MB / 1.029 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.004272/1.23, allocations: 2.269 MB / 1.36 GB, free: 6.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/1.231, allocations: 277.7 kB / 1.36 GB, free: 6.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/1.232, allocations: 165.7 kB / 1.36 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/1.232, allocations: 1.406 kB / 1.36 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.232, allocations: 42 kB / 1.36 GB, free: 6.711 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 3.967e-06/1.232, allocations: 0 / 1.36 GB, free: 6.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.005172/1.237, allocations: 1.092 MB / 1.361 GB, free: 6.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/1.237, allocations: 82.67 kB / 1.361 GB, free: 6.297 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/1.238, allocations: 0.5518 MB / 1.362 GB, free: 6.047 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/1.238, allocations: 32.05 kB / 1.362 GB, free: 6.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/1.238, allocations: 304.8 kB / 1.362 GB, free: 5.766 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/1.238, allocations: 49.61 kB / 1.362 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.239, allocations: 57.89 kB / 1.362 GB, free: 5.691 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002427/1.239, allocations: 359.9 kB / 1.363 GB, free: 5.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/1.239, allocations: 189.9 kB / 1.363 GB, free: 5.309 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.24, allocations: 269.3 kB / 1.363 GB, free: 5.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.241, allocations: 409.2 kB / 1.363 GB, free: 4.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.241, allocations: 1.125 kB / 1.363 GB, free: 4.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002725/1.244, allocations: 0.7291 MB / 1.364 GB, free: 4.758 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.244, allocations: 5.969 kB / 1.364 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/1.244, allocations: 2.062 kB / 1.364 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/1.245, allocations: 185.6 kB / 1.364 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/1.245, allocations: 71.3 kB / 1.364 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/1.249, allocations: 2.231 MB / 1.367 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/1.25, allocations: 79.8 kB / 1.367 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.25, allocations: 9 kB / 1.367 GB, free: 2.992 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003115/1.25, allocations: 190.3 kB / 1.367 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.251, allocations: 49.06 kB / 1.367 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.824e-05/1.251, allocations: 57.41 kB / 1.367 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.251, allocations: 3.938 kB / 1.367 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.251, allocations: 1.844 kB / 1.367 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.251, allocations: 0 / 1.367 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/1.254, allocations: 1.136 MB / 1.368 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.254, allocations: 0 / 1.368 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.254, allocations: 42.83 kB / 1.368 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/1.255, allocations: 179 kB / 1.368 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/1.255, allocations: 6.469 kB / 1.368 GB, free: 1.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/1.259, allocations: 2.199 MB / 1.37 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.259, allocations: 5.484 kB / 1.37 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/1.261, allocations: 0.7037 MB / 1.371 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/1.261, allocations: 168 kB / 1.371 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/1.262, allocations: 0 / 1.371 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/1.262, allocations: 48.8 kB / 1.371 GB, free: 15.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/1.262, allocations: 17.39 kB / 1.371 GB, free: 15.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/1.262, allocations: 19.16 kB / 1.371 GB, free: 15.35 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004982/1.263, allocations: 396.9 kB / 1.372 GB, free: 15.12 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.263, allocations: 0 / 1.372 GB, free: 15.12 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006994/1.263, allocations: 186.1 kB / 1.372 GB, free: 15.09 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004643/1.264, allocations: 178 kB / 1.372 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001621/1.266, allocations: 0.5306 MB / 1.373 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.266, allocations: 0 / 1.373 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/1.266, allocations: 301.9 kB / 1.373 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.268, allocations: 310.9 kB / 1.373 GB, free: 14.28 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/1.271, allocations: 1.105 MB / 1.374 GB, free: 13.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/1.272, allocations: 0.8612 MB / 1.375 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/1.272, allocations: 40.3 kB / 1.375 GB, free: 12.81 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/1.272, allocations: 0 / 1.375 GB, free: 12.81 MB / 1.045 GB Notification: Performance of Templates: time 0.01716/1.289, allocations: 11.11 MB / 1.386 GB, free: 7.047 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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: 13.468322861939669]