Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.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.001722/0.001722, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001512/0.001512, allocations: 205.8 kB / 23 MB, free: 4.934 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.648/1.648, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.581/3.581, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 71.2 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5193, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.4075/0.9267, allocations: 279.1 MB / 1.6 GB, free: 8.848 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 1.528/2.455, allocations: 27.08 MB / 1.626 GB, free: 25.36 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006192/2.461, allocations: 110.9 kB / 1.626 GB, free: 25.36 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/2.471, allocations: 2.42 MB / 1.629 GB, free: 25.36 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01656/2.488, allocations: 3.352 MB / 1.632 GB, free: 25.31 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01423/2.502, allocations: 2.88 MB / 1.635 GB, free: 25.26 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01986/2.522, allocations: 7.519 MB / 1.642 GB, free: 25.25 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/2.527, allocations: 1.594 MB / 1.644 GB, free: 25.12 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/2.537, allocations: 2.944 MB / 1.646 GB, free: 25.1 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006637/2.543, allocations: 1.589 MB / 1.648 GB, free: 25.09 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/2.545, allocations: 245.5 kB / 1.648 GB, free: 25.09 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/2.555, allocations: 3.054 MB / 1.651 GB, free: 25.06 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/2.557, allocations: 0.8214 MB / 1.652 GB, free: 25.06 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003507/2.561, allocations: 1.065 MB / 1.653 GB, free: 25.05 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/2.577, allocations: 5.264 MB / 1.658 GB, free: 24.68 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/2.577, allocations: 6.969 kB / 1.658 GB, free: 24.67 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.196e-06/2.577, allocations: 0 / 1.658 GB, free: 24.67 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001296/2.577, allocations: 1.031 kB / 1.658 GB, free: 24.67 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.008625/2.586, allocations: 2.904 MB / 1.661 GB, free: 23.21 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/2.586, allocations: 12.66 kB / 1.661 GB, free: 23.21 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/2.592, allocations: 0.9449 MB / 1.662 GB, free: 23.07 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/2.604, allocations: 5.603 MB / 1.667 GB, free: 22.52 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/2.605, allocations: 106.3 kB / 1.668 GB, free: 22.52 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/2.605, allocations: 136.7 kB / 1.668 GB, free: 22.52 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00398/2.609, allocations: 1.66 MB / 1.669 GB, free: 22.23 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/2.609, allocations: 3.188 kB / 1.669 GB, free: 22.23 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/2.609, allocations: 52.59 kB / 1.669 GB, free: 22.23 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/2.609, allocations: 51.97 kB / 1.669 GB, free: 22.23 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003363/2.613, allocations: 1.323 MB / 1.671 GB, free: 22.21 MB / 1.295 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.01132/2.624, allocations: 5.303 MB / 1.676 GB, free: 20.38 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/2.626, allocations: 0.5797 MB / 1.676 GB, free: 20.35 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/2.627, allocations: 238.8 kB / 1.677 GB, free: 20.34 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/2.627, allocations: 39.36 kB / 1.677 GB, free: 20.34 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/2.627, allocations: 38.22 kB / 1.677 GB, free: 20.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=35): time 3.757e-06/2.627, allocations: 0 / 1.677 GB, free: 20.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=35): time 0.003016/2.63, allocations: 0.8525 MB / 1.678 GB, free: 20.16 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/2.63, allocations: 58.72 kB / 1.678 GB, free: 20.09 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/2.633, allocations: 1.896 MB / 1.679 GB, free: 19.83 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/2.633, allocations: 33.55 kB / 1.679 GB, free: 19.8 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009099/2.634, allocations: 1.007 MB / 1.68 GB, free: 19.42 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/2.635, allocations: 136 kB / 1.681 GB, free: 19.34 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/2.635, allocations: 256.5 kB / 1.681 GB, free: 19.31 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000117/2.635, allocations: 347.1 kB / 1.681 GB, free: 19 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/2.636, allocations: 0.5134 MB / 1.682 GB, free: 18.99 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/2.638, allocations: 0.9226 MB / 1.683 GB, free: 18.52 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/2.64, allocations: 1.122 MB / 1.684 GB, free: 18.23 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/2.64, allocations: 3.25 kB / 1.684 GB, free: 18.23 MB / 1.295 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003694/2.643, allocations: 1.522 MB / 1.685 GB, free: 18.07 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/2.644, allocations: 14.19 kB / 1.685 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/2.644, allocations: 7.812 kB / 1.685 GB, free: 18.06 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002362/2.644, allocations: 36.2 kB / 1.685 GB, free: 18.05 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/2.645, allocations: 241.2 kB / 1.685 GB, free: 18.05 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/2.646, allocations: 1.444 MB / 1.687 GB, free: 16.71 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/2.648, allocations: 186.4 kB / 1.687 GB, free: 16.66 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/2.648, allocations: 43.95 kB / 1.687 GB, free: 16.66 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002501/2.651, allocations: 1.019 MB / 1.688 GB, free: 16.56 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/2.652, allocations: 0.8918 MB / 1.689 GB, free: 16.11 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00195/2.654, allocations: 1.112 MB / 1.69 GB, free: 15.82 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.733e-06/2.654, allocations: 1.719 kB / 1.69 GB, free: 15.82 MB / 1.295 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003624/2.657, allocations: 1.5 MB / 1.692 GB, free: 15.65 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/2.657, allocations: 12.5 kB / 1.692 GB, free: 15.64 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/2.658, allocations: 8.562 kB / 1.692 GB, free: 15.64 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/2.658, allocations: 42.58 kB / 1.692 GB, free: 15.63 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/2.659, allocations: 236.7 kB / 1.692 GB, free: 15.63 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/2.66, allocations: 1.439 MB / 1.693 GB, free: 14.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/2.662, allocations: 165.3 kB / 1.693 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.637e-05/2.662, allocations: 44.02 kB / 1.693 GB, free: 14.25 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004284/2.663, allocations: 229.3 kB / 1.694 GB, free: 14.07 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/2.663, allocations: 173.9 kB / 1.694 GB, free: 13.97 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/2.665, allocations: 0.6585 MB / 1.694 GB, free: 13.88 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/2.665, allocations: 3.812 kB / 1.694 GB, free: 13.88 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/2.665, allocations: 0 / 1.694 GB, free: 13.88 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/2.666, allocations: 233.3 kB / 1.695 GB, free: 13.77 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/2.666, allocations: 7.859 kB / 1.695 GB, free: 13.77 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/2.667, allocations: 68.58 kB / 1.695 GB, free: 13.76 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/2.667, allocations: 31.38 kB / 1.695 GB, free: 13.76 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001851/2.669, allocations: 0.5939 MB / 1.695 GB, free: 13.63 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001994/2.671, allocations: 1.029 MB / 1.696 GB, free: 13.3 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005346/2.671, allocations: 198.7 kB / 1.697 GB, free: 13.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002591/2.674, allocations: 1.29 MB / 1.698 GB, free: 13.15 MB / 1.295 GB Notification: Performance of Backend: time 1.152e-06/2.674, allocations: 0 / 1.698 GB, free: 13.15 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007488/2.681, allocations: 2.369 MB / 1.7 GB, free: 12.66 MB / 1.295 GB Notification: Performance of SimCode: time 0.008922/2.69, allocations: 4.31 MB / 1.704 GB, free: 10.76 MB / 1.295 GB Notification: Performance of Templates: time 0.08807/2.778, allocations: 48.04 MB / 1.751 GB, free: 7.668 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.HeaterFan.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: 14.072492271006922]