Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.001429/0.001429, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001513/0.001513, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 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 0.9462/0.9462, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.992/1.992, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.697e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002129/0.002146, allocations: 1.726 MB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.00383, allocations: 1.736 MB / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.003897, allocations: 0 / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.004352, allocations: 63.55 kB / 0.8816 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.004558, allocations: 100.2 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.004677, allocations: 67.69 kB / 0.8818 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.004861, allocations: 196 kB / 0.882 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.004894, allocations: 7.438 kB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03553/0.04042, allocations: 10.88 MB / 0.8926 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.04065, allocations: 63.8 kB / 0.8927 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.0407, allocations: 8 kB / 0.8927 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.04093, allocations: 51.92 kB / 0.8927 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.04104, allocations: 47.83 kB / 0.8928 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.04113, allocations: 35.86 kB / 0.8928 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.04168, allocations: 159.4 kB / 0.893 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.04169, allocations: 4 kB / 0.893 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.535e-06/0.04169, allocations: 0 / 0.893 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.0417, allocations: 4 kB / 0.893 GB, free: 10.71 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001079/0.04278, allocations: 0.4917 MB / 0.8934 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/0.04285, allocations: 8.031 kB / 0.8935 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.04296, allocations: 24.83 kB / 0.8935 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.04332, allocations: 209.1 kB / 0.8937 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.04334, allocations: 8.312 kB / 0.8937 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.04336, allocations: 8.375 kB / 0.8937 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.04357, allocations: 94.83 kB / 0.8938 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.04358, allocations: 3.938 kB / 0.8938 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.0436, allocations: 4 kB / 0.8938 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.04361, allocations: 4 kB / 0.8938 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.04377, allocations: 131.8 kB / 0.8939 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.04398, allocations: 168.5 kB / 0.8941 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.04432, allocations: 195 kB / 0.8943 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.04438, allocations: 31.67 kB / 0.8943 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.0444, allocations: 4 kB / 0.8943 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.04457, allocations: 101 kB / 0.8944 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.013e-06/0.04457, allocations: 0 / 0.8944 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003543/0.04493, allocations: 181.4 kB / 0.8946 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.04497, allocations: 55.41 kB / 0.8946 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.04515, allocations: 261.6 kB / 0.8949 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.04517, allocations: 29.7 kB / 0.8949 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.04525, allocations: 158.9 kB / 0.8951 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.04531, allocations: 47.67 kB / 0.8951 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.04535, allocations: 39.36 kB / 0.8951 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.04549, allocations: 0.504 MB / 0.8956 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.04554, allocations: 19.98 kB / 0.8956 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.04561, allocations: 62.3 kB / 0.8957 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.04572, allocations: 83.3 kB / 0.8958 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.04572, allocations: 0 / 0.8958 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001978/0.04592, allocations: 156.7 kB / 0.8959 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.04594, allocations: 4 kB / 0.8959 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.04595, allocations: 7.938 kB / 0.8959 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.04597, allocations: 0 / 0.8959 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.04609, allocations: 31.86 kB / 0.896 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.0461, allocations: 0 / 0.896 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.04614, allocations: 19.88 kB / 0.896 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.04615, allocations: 8 kB / 0.896 GB, free: 7.375 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.871e-05/0.04625, allocations: 168.2 kB / 0.8962 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.04628, allocations: 19.91 kB / 0.8962 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.04662, allocations: 226.9 kB / 0.8964 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.04662, allocations: 3.938 kB / 0.8964 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.04663, allocations: 4 kB / 0.8964 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.04663, allocations: 0 / 0.8964 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.04679, allocations: 200.4 kB / 0.8966 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0468, allocations: 0 / 0.8966 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.04687, allocations: 27.98 kB / 0.8966 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.04687, allocations: 8 kB / 0.8966 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.04688, allocations: 11.98 kB / 0.8966 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.04689, allocations: 3.938 kB / 0.8967 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.04689, allocations: 3.938 kB / 0.8967 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.04712, allocations: 232.2 kB / 0.8969 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.04715, allocations: 23.78 kB / 0.8969 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.04718, allocations: 11.98 kB / 0.8969 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.04721, allocations: 8 kB / 0.8969 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.04726, allocations: 15.91 kB / 0.8969 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.04728, allocations: 8 kB / 0.8969 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001065/0.04739, allocations: 188.5 kB / 0.8971 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.04739, allocations: 4 kB / 0.8971 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001721/0.04756, allocations: 32 kB / 0.8972 GB, free: 6.129 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009147/0.04847, allocations: 398.3 kB / 0.8975 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.04868, allocations: 99.58 kB / 0.8976 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.04868, allocations: 0 / 0.8976 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.04876, allocations: 79.52 kB / 0.8977 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.049, allocations: 36.67 kB / 0.8977 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.04955, allocations: 321.6 kB / 0.898 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.04961, allocations: 83.97 kB / 0.8981 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.778e-05/0.04968, allocations: 49.97 kB / 0.8982 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.04975, allocations: 36.48 kB / 0.8982 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.04975, allocations: 0 / 0.8982 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of Templates: time 0.005245/0.055, allocations: 3.011 MB / 0.9011 GB, free: 2.121 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.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.2539052539505064]