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.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.001928/0.001928, allocations: 117 kB / 17.08 MB, free: 5.977 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.002193/0.002193, allocations: 191.7 kB / 20.03 MB, free: 3.047 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.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 489.3 MB / 0.7687 GB, free: 4.023 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",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.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003208/1.028, allocations: 1.646 MB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002153/1.03, allocations: 1.486 MB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/1.03, allocations: 1.125 kB / 1.266 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000443/1.03, allocations: 52.67 kB / 1.266 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/1.031, allocations: 63.12 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/1.031, allocations: 109 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/1.031, allocations: 164.5 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/1.031, allocations: 10.52 kB / 1.266 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.031, allocations: 69.84 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/1.031, allocations: 60.23 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/1.031, allocations: 9.875 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/1.032, allocations: 68.73 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/1.032, allocations: 42.95 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/1.032, allocations: 69.12 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/1.032, allocations: 198.5 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.032, allocations: 0.75 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.726e-06/1.032, allocations: 0 / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.032, allocations: 0 / 1.267 GB, free: 5.422 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007953/1.033, allocations: 468.3 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.033, allocations: 10.14 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/1.033, allocations: 20.09 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/1.034, allocations: 273 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.034, allocations: 2.938 kB / 1.267 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/1.034, allocations: 7.703 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/1.034, allocations: 115.2 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.034, allocations: 0.875 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.034, allocations: 1.109 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.034, allocations: 1.469 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/1.035, allocations: 144.3 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/1.035, allocations: 234.2 kB / 1.268 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/1.035, allocations: 179.3 kB / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/1.036, allocations: 55.41 kB / 1.268 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/1.036, allocations: 6.188 kB / 1.268 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/1.036, allocations: 110.2 kB / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/1.036, allocations: 0 / 1.268 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007068/1.037, allocations: 224.9 kB / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.037, allocations: 83.39 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/1.037, allocations: 202.5 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.037, allocations: 32.61 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/1.037, allocations: 110.5 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/1.037, allocations: 56.05 kB / 1.269 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/1.037, allocations: 36.7 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.037, allocations: 330 kB / 1.269 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/1.038, allocations: 46.2 kB / 1.269 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/1.038, allocations: 74.75 kB / 1.269 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/1.038, allocations: 126.2 kB / 1.269 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.038, allocations: 0.6875 kB / 1.269 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004392/1.038, allocations: 194.4 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.039, allocations: 5.875 kB / 1.27 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/1.039, allocations: 5.438 kB / 1.27 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.039, allocations: 0.9688 kB / 1.27 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.039, allocations: 25.52 kB / 1.27 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.039, allocations: 1.031 kB / 1.27 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/1.039, allocations: 12.17 kB / 1.27 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/1.039, allocations: 12.83 kB / 1.27 GB, free: 3.141 MB / 0.9981 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 0.0001283/1.039, allocations: 144.2 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/1.039, allocations: 15.75 kB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.178e-05/1.039, allocations: 26.23 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.039, allocations: 1.469 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.039, allocations: 0.8125 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.039, allocations: 0.7969 kB / 1.27 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/1.039, allocations: 239.3 kB / 1.27 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.039, allocations: 1 kB / 1.27 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/1.04, allocations: 25.78 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.04, allocations: 1.375 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/1.04, allocations: 4.062 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/1.04, allocations: 0.7812 kB / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.04, allocations: 0 / 1.27 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/1.04, allocations: 221.8 kB / 1.27 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/1.04, allocations: 94.14 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/1.04, allocations: 3.078 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/1.04, allocations: 11.45 kB / 1.27 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/1.04, allocations: 8.359 kB / 1.27 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.04, allocations: 6.344 kB / 1.27 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001806/1.041, allocations: 149.4 kB / 1.271 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 1.271 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003087/1.041, allocations: 39.69 kB / 1.271 GB, free: 2.414 MB / 0.9981 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001875/1.043, allocations: 460.7 kB / 1.271 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003625/1.043, allocations: 126 kB / 1.271 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.043, allocations: 0 / 1.271 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/1.043, allocations: 65.64 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/1.044, allocations: 43.91 kB / 1.271 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/1.044, allocations: 326.1 kB / 1.272 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/1.045, allocations: 0.724 MB / 1.272 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/1.045, allocations: 33.72 kB / 1.272 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/1.045, allocations: 0 / 1.272 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of Templates: time 0.006643/1.051, allocations: 2.825 MB / 1.275 GB, free: 0.8711 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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: 12.363761198939756]