Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001072/0.001072, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001864/0.001864, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.93/1.93, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] 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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.359e-05, allocations: 10.19 kB / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03886/0.0389, allocations: 51.55 MB / 0.8619 GB, free: 14.36 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.05499, allocations: 13.07 MB / 0.8746 GB, free: 1.254 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.05842, allocations: 111.1 kB / 0.8748 GB, free: 1.145 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.06066, allocations: 0.7718 MB / 0.8755 GB, free: 376 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004793/0.06545, allocations: 1.993 MB / 0.8775 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/0.06826, allocations: 1.418 MB / 0.8788 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.07225, allocations: 3.345 MB / 0.8821 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.07387, allocations: 0.9936 MB / 0.8831 GB, free: 8.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.07753, allocations: 1.971 MB / 0.885 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.07869, allocations: 0.8098 MB / 0.8858 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.07888, allocations: 96 kB / 0.8859 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.08068, allocations: 0.9079 MB / 0.8868 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.08092, allocations: 322.5 kB / 0.8871 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.08138, allocations: 466.8 kB / 0.8875 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.08364, allocations: 1.545 MB / 0.889 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.08365, allocations: 4 kB / 0.889 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.315e-06/0.08365, allocations: 4 kB / 0.889 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.08368, allocations: 0 / 0.889 GB, free: 2.48 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002131/0.08581, allocations: 1.77 MB / 0.8908 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.08586, allocations: 8.031 kB / 0.8908 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.08645, allocations: 275.9 kB / 0.891 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.0879, allocations: 1.053 MB / 0.8921 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.08795, allocations: 66.38 kB / 0.8921 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.08803, allocations: 80.38 kB / 0.8922 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.08912, allocations: 0.9697 MB / 0.8932 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.08914, allocations: 0 / 0.8932 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-05/0.0892, allocations: 36 kB / 0.8932 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.08922, allocations: 27.98 kB / 0.8932 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.08977, allocations: 303.5 kB / 0.8935 GB, free: 13.67 MB / 0.8542 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.003485/0.09326, allocations: 4.846 MB / 0.8982 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.09369, allocations: 185.1 kB / 0.8984 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.09381, allocations: 75.66 kB / 0.8985 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/0.09408, allocations: 103.9 kB / 0.8986 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.09411, allocations: 37.39 kB / 0.8986 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=29): time 2.544e-06/0.09412, allocations: 0 / 0.8986 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29): time 0.001064/0.09518, allocations: 0.5075 MB / 0.8991 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.09522, allocations: 59.34 kB / 0.8992 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.09592, allocations: 0.8476 MB / 0.9 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.09595, allocations: 33.7 kB / 0.9 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.09641, allocations: 0.6624 MB / 0.9007 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.09648, allocations: 107.1 kB / 0.9008 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.0966, allocations: 115.8 kB / 0.9009 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09672, allocations: 0.5003 MB / 0.9014 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.09684, allocations: 64.95 kB / 0.9014 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.09713, allocations: 0.4986 MB / 0.9019 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.09752, allocations: 440 kB / 0.9023 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.09752, allocations: 0 / 0.9023 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006452/0.09816, allocations: 0.5073 MB / 0.9028 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.09819, allocations: 11.94 kB / 0.9029 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.0982, allocations: 8 kB / 0.9029 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004003/0.0986, allocations: 127.7 kB / 0.903 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.09889, allocations: 127.8 kB / 0.9031 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008618/0.09975, allocations: 2.443 MB / 0.9055 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.1001, allocations: 67.58 kB / 0.9056 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1001, allocations: 28 kB / 0.9056 GB, free: 0.6289 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1003, allocations: 188.4 kB / 0.9058 GB, free: 444 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1004, allocations: 111.3 kB / 0.9059 GB, free: 332 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006831/0.1011, allocations: 460.3 kB / 0.9063 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.1011, allocations: 4 kB / 0.9063 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1011, allocations: 0 / 0.9063 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1011, allocations: 3.984 kB / 0.9063 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.1027, allocations: 1.202 MB / 0.9075 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1027, allocations: 4 kB / 0.9075 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.103, allocations: 75.94 kB / 0.9076 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.1033, allocations: 119.2 kB / 0.9077 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.1033, allocations: 15.98 kB / 0.9077 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007815/0.1041, allocations: 2.427 MB / 0.9101 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1041, allocations: 0 / 0.9101 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007502/0.1048, allocations: 0.5831 MB / 0.9106 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.105, allocations: 163.1 kB / 0.9108 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.1051, allocations: 8 kB / 0.9108 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1053, allocations: 27.97 kB / 0.9108 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.1054, allocations: 39.91 kB / 0.9109 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.1054, allocations: 19.98 kB / 0.9109 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004578/0.1059, allocations: 0.5222 MB / 0.9114 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1059, allocations: 0 / 0.9114 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009168/0.1068, allocations: 394.8 kB / 0.9118 GB, free: 10.01 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005694/0.1074, allocations: 398.5 kB / 0.9121 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006684/0.1081, allocations: 309.6 kB / 0.9124 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1081, allocations: 0 / 0.9124 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1083, allocations: 159.7 kB / 0.9126 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.1096, allocations: 461.1 kB / 0.913 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.1126, allocations: 1.701 MB / 0.9147 GB, free: 6.949 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.1128, allocations: 211.6 kB / 0.9149 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.1133, allocations: 167.1 kB / 0.9151 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1134, allocations: 64.48 kB / 0.9151 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/0.1134, allocations: 0 / 0.9151 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of Templates: time 0.02869/0.1421, allocations: 19.04 MB / 0.9337 GB, free: 3.867 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.797444155206904]