Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 101.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.164/3.164, allocations: 489.7 MB / 0.7761 GB, free: 33.59 MB / 0.6231 GB [Timeout remaining time 86] 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.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_latest_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_latest_Buildings.Fluid.FMI.Validation.HeaterFan") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 75.53 kB / 1.127 GB, free: 36.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4004, allocations: 172.1 MB / 1.295 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3799/0.7803, allocations: 314.1 MB / 1.602 GB, free: 500 kB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.9903/1.771, allocations: 29.47 MB / 1.63 GB, free: 27.75 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004448/1.775, allocations: 80.69 kB / 1.63 GB, free: 27.75 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.008503/1.784, allocations: 2.445 MB / 1.633 GB, free: 27.75 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/1.796, allocations: 3.316 MB / 1.636 GB, free: 27.73 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.009758/1.805, allocations: 2.817 MB / 1.639 GB, free: 27.67 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.01635/1.822, allocations: 7.425 MB / 1.646 GB, free: 27.66 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/1.826, allocations: 1.635 MB / 1.648 GB, free: 27.52 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008075/1.834, allocations: 2.594 MB / 1.65 GB, free: 27.5 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/1.839, allocations: 1.594 MB / 1.652 GB, free: 27.5 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.0009973/1.84, allocations: 258.5 kB / 1.652 GB, free: 27.5 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009965/1.85, allocations: 3.767 MB / 1.656 GB, free: 27.46 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/1.852, allocations: 0.845 MB / 1.657 GB, free: 27.46 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.003673/1.855, allocations: 1.393 MB / 1.658 GB, free: 27.46 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.868, allocations: 5.466 MB / 1.663 GB, free: 27.08 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.868, allocations: 3.938 kB / 1.663 GB, free: 27.08 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.474e-06/1.868, allocations: 0 / 1.663 GB, free: 27.08 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0001211/1.868, allocations: 0 / 1.663 GB, free: 27.08 MB / 1.311 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.007851/1.876, allocations: 3.02 MB / 1.666 GB, free: 25.52 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.876, allocations: 8.469 kB / 1.666 GB, free: 25.52 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/1.882, allocations: 0.9518 MB / 1.667 GB, free: 25.38 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/1.893, allocations: 5.768 MB / 1.673 GB, free: 24.81 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.893, allocations: 103.1 kB / 1.673 GB, free: 24.81 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/1.894, allocations: 135.7 kB / 1.673 GB, free: 24.81 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003453/1.897, allocations: 1.584 MB / 1.675 GB, free: 24.62 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.897, allocations: 5.031 kB / 1.675 GB, free: 24.62 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.897, allocations: 56.34 kB / 1.675 GB, free: 24.62 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.507e-05/1.897, allocations: 49.88 kB / 1.675 GB, free: 24.61 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/1.9, allocations: 1.324 MB / 1.676 GB, free: 24.6 MB / 1.311 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.01077/1.911, allocations: 7.743 MB / 1.683 GB, free: 20.7 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/1.913, allocations: 0.6555 MB / 1.684 GB, free: 20.58 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/1.914, allocations: 245.5 kB / 1.684 GB, free: 20.57 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/1.914, allocations: 192.9 kB / 1.685 GB, free: 20.38 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/1.914, allocations: 39.14 kB / 1.685 GB, free: 20.34 MB / 1.311 GB Notification: Performance of pre-optimization done (n=35): time 3.126e-06/1.914, allocations: 2.469 kB / 1.685 GB, free: 20.34 MB / 1.311 GB Notification: Performance of matching and sorting (n=35): time 0.002991/1.917, allocations: 1.05 MB / 1.686 GB, free: 20 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.917, allocations: 57.47 kB / 1.686 GB, free: 19.93 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/1.921, allocations: 2.365 MB / 1.688 GB, free: 19.68 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.921, allocations: 34.52 kB / 1.688 GB, free: 19.65 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007881/1.922, allocations: 0.9767 MB / 1.689 GB, free: 19.38 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.922, allocations: 131.2 kB / 1.689 GB, free: 19.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.922, allocations: 254.2 kB / 1.689 GB, free: 19.27 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/1.922, allocations: 359.6 kB / 1.69 GB, free: 18.96 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/1.924, allocations: 0.5096 MB / 1.69 GB, free: 18.95 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/1.925, allocations: 0.7958 MB / 1.691 GB, free: 18.63 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/1.927, allocations: 1.114 MB / 1.692 GB, free: 18.34 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.927, allocations: 0 / 1.692 GB, free: 18.34 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003422/1.93, allocations: 1.645 MB / 1.694 GB, free: 18.04 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.93, allocations: 5.812 kB / 1.694 GB, free: 18.04 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.93, allocations: 13.22 kB / 1.694 GB, free: 18.04 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/1.93, allocations: 30.78 kB / 1.694 GB, free: 18.03 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.932, allocations: 244.2 kB / 1.694 GB, free: 18.02 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/1.933, allocations: 1.581 MB / 1.695 GB, free: 16.53 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.935, allocations: 246.1 kB / 1.696 GB, free: 16.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.935, allocations: 46.83 kB / 1.696 GB, free: 16.43 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00216/1.937, allocations: 1.009 MB / 1.697 GB, free: 16.34 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001239/1.938, allocations: 0.7842 MB / 1.697 GB, free: 16.02 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001859/1.94, allocations: 1.097 MB / 1.699 GB, free: 15.73 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.191e-06/1.94, allocations: 0 / 1.699 GB, free: 15.73 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00343/1.944, allocations: 1.614 MB / 1.7 GB, free: 15.43 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.944, allocations: 8.5 kB / 1.7 GB, free: 15.43 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.944, allocations: 7.781 kB / 1.7 GB, free: 15.43 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/1.944, allocations: 47.77 kB / 1.7 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.945, allocations: 236.3 kB / 1.7 GB, free: 15.41 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009076/1.946, allocations: 1.566 MB / 1.702 GB, free: 13.91 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/1.948, allocations: 162.9 kB / 1.702 GB, free: 13.88 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/1.948, allocations: 39.58 kB / 1.702 GB, free: 13.88 MB / 1.311 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.0003189/1.948, allocations: 232.2 kB / 1.702 GB, free: 13.69 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/1.949, allocations: 215.8 kB / 1.703 GB, free: 13.57 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/1.951, allocations: 0.7672 MB / 1.703 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.951, allocations: 7.703 kB / 1.703 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.951, allocations: 0 / 1.703 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.951, allocations: 3.141 kB / 1.703 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/1.955, allocations: 2.154 MB / 1.705 GB, free: 12.87 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.955, allocations: 1.188 kB / 1.705 GB, free: 12.87 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/1.956, allocations: 107.2 kB / 1.706 GB, free: 12.86 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-05/1.956, allocations: 27.72 kB / 1.706 GB, free: 12.85 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/1.956, allocations: 10.69 kB / 1.706 GB, free: 12.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007616/1.957, allocations: 1.56 MB / 1.707 GB, free: 11.36 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.957, allocations: 6.844 kB / 1.707 GB, free: 11.35 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.959, allocations: 0.9039 MB / 1.708 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/1.959, allocations: 369.3 kB / 1.708 GB, free: 10.7 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.96, allocations: 6.25 kB / 1.708 GB, free: 10.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.961, allocations: 65.38 kB / 1.708 GB, free: 10.69 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/1.961, allocations: 22.97 kB / 1.708 GB, free: 10.69 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/1.961, allocations: 25.66 kB / 1.708 GB, free: 10.68 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002836/1.964, allocations: 1.642 MB / 1.71 GB, free: 10.54 MB / 1.311 GB Notification: Performance of sort global known variables: time 1e-07/1.964, allocations: 0 / 1.71 GB, free: 10.54 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003135/1.967, allocations: 0.8916 MB / 1.711 GB, free: 10.44 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000952/1.968, allocations: 453.4 kB / 1.711 GB, free: 10.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.971, allocations: 1.705 MB / 1.713 GB, free: 10.04 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.971, allocations: 0 / 1.713 GB, free: 10.04 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/1.972, allocations: 340.2 kB / 1.713 GB, free: 9.926 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/1.977, allocations: 1.237 MB / 1.715 GB, free: 9.707 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/1.983, allocations: 3.443 MB / 1.718 GB, free: 8.324 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009937/1.984, allocations: 1.541 MB / 1.719 GB, free: 7.57 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/1.985, allocations: 146.5 kB / 1.72 GB, free: 7.562 MB / 1.311 GB Notification: Performance of SimCode: time 1.082e-06/1.985, allocations: 0 / 1.72 GB, free: 7.562 MB / 1.311 GB Notification: Performance of Templates: time 0.06967/2.054, allocations: 47.53 MB / 1.766 GB, free: 11.86 MB / 1.342 GB [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches