Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002259/0.002259, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002673/0.002673, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.556/1.556, allocations: 177.1 MB / 202.8 MB, free: 9.188 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 3.017/3.017, allocations: 377.8 MB / 0.6221 GB, free: 12.53 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9814 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.992e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00357/0.0036, allocations: 1.667 MB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003007/0.006606, allocations: 1.673 MB / 0.9847 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.006688, allocations: 3.938 kB / 0.9847 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.0072, allocations: 47.7 kB / 0.9848 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.007502, allocations: 103.4 kB / 0.9849 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.00775, allocations: 83.59 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.008049, allocations: 179.6 kB / 0.9851 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.008098, allocations: 8 kB / 0.9851 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.008254, allocations: 87.75 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.008412, allocations: 67.8 kB / 0.9853 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.008443, allocations: 15.94 kB / 0.9853 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.008655, allocations: 107.9 kB / 0.9854 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.008762, allocations: 51.83 kB / 0.9854 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.008845, allocations: 39.89 kB / 0.9855 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.009276, allocations: 267.1 kB / 0.9857 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009278, allocations: 0 / 0.9857 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.71e-07/0.009279, allocations: 0 / 0.9857 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.009284, allocations: 0 / 0.9857 GB, free: 7.48 MB / 0.9356 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.000775/0.01006, allocations: 428.9 kB / 0.9861 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.0101, allocations: 12.03 kB / 0.9861 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.01017, allocations: 16.84 kB / 0.9862 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.01057, allocations: 198.4 kB / 0.9863 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.01058, allocations: 384 / 0.9863 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.0106, allocations: 8.375 kB / 0.9864 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.011, allocations: 149.6 kB / 0.9865 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.01101, allocations: 7.938 kB / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.01103, allocations: 0 / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.01103, allocations: 0 / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.01146, allocations: 195.8 kB / 0.9867 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.01177, allocations: 181.1 kB / 0.9869 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.01235, allocations: 202.5 kB / 0.9871 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.01249, allocations: 56.83 kB / 0.9871 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.01251, allocations: 8 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.01279, allocations: 115.3 kB / 0.9872 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.0128, allocations: 0 / 0.9872 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0006437/0.01344, allocations: 267.4 kB / 0.9875 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.01352, allocations: 81.11 kB / 0.9876 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.01382, allocations: 255 kB / 0.9878 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.01386, allocations: 29.7 kB / 0.9878 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.01395, allocations: 112.1 kB / 0.9879 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.01402, allocations: 47.64 kB / 0.988 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.01408, allocations: 33.7 kB / 0.988 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.01427, allocations: 322.8 kB / 0.9883 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.0144, allocations: 63.95 kB / 0.9884 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.01457, allocations: 108.2 kB / 0.9885 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.01485, allocations: 145.6 kB / 0.9886 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01485, allocations: 4 kB / 0.9886 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004833/0.01534, allocations: 208.9 kB / 0.9888 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01535, allocations: 8 kB / 0.9888 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.01536, allocations: 7.922 kB / 0.9888 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01538, allocations: 0 / 0.9888 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01553, allocations: 39.86 kB / 0.9889 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01553, allocations: 0 / 0.9889 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.01561, allocations: 11.89 kB / 0.9889 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01562, allocations: 4 kB / 0.9889 GB, free: 4.012 MB / 0.9356 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.0001593/0.01578, allocations: 143.9 kB / 0.989 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.01583, allocations: 19.89 kB / 0.9891 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.01641, allocations: 290.8 kB / 0.9893 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.01642, allocations: 7.938 kB / 0.9893 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01642, allocations: 0 / 0.9893 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01643, allocations: 0 / 0.9893 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.01673, allocations: 197.1 kB / 0.9895 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01674, allocations: 0 / 0.9895 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.01686, allocations: 35.92 kB / 0.9896 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01686, allocations: 4 kB / 0.9896 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.01688, allocations: 11.98 kB / 0.9896 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01688, allocations: 0 / 0.9896 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/0.0169, allocations: 3.938 kB / 0.9896 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.0174, allocations: 274.9 kB / 0.9898 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.01743, allocations: 19.84 kB / 0.9899 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.01748, allocations: 12 kB / 0.9899 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.01755, allocations: 11.98 kB / 0.9899 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.01761, allocations: 11.92 kB / 0.9899 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.01763, allocations: 11.98 kB / 0.9899 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000223/0.01786, allocations: 192.4 kB / 0.9901 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01786, allocations: 0 / 0.9901 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003182/0.01817, allocations: 59.86 kB / 0.9901 GB, free: 2.672 MB / 0.9356 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.002047/0.02022, allocations: 0.5415 MB / 0.9907 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.0206, allocations: 147.9 kB / 0.9908 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.0206, allocations: 0 / 0.9908 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.02079, allocations: 89.7 kB / 0.9909 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.0211, allocations: 35.97 kB / 0.9909 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.0218, allocations: 354.1 kB / 0.9913 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.02195, allocations: 120.1 kB / 0.9914 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.02208, allocations: 57.41 kB / 0.9914 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.02218, allocations: 32.48 kB / 0.9915 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.02218, allocations: 0 / 0.9915 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.008835/0.03101, allocations: 3.556 MB / 0.9949 GB, free: 13.98 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.954630173742771]