Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.001612/0.001612, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00193/0.00193, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.315/3.315, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [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.00212/0.00212, allocations: 67.02 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3953, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.273/1.669, allocations: 272 MB / 1.63 GB, free: 25.23 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03677/1.706, allocations: 25.34 MB / 1.655 GB, free: 25.15 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004306/1.71, allocations: 105.4 kB / 1.655 GB, free: 25.15 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.007548/1.717, allocations: 2.239 MB / 1.657 GB, free: 25.11 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01013/1.728, allocations: 3.223 MB / 1.66 GB, free: 24.99 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008553/1.736, allocations: 2.882 MB / 1.663 GB, free: 24.93 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01245/1.749, allocations: 7.208 MB / 1.67 GB, free: 24.93 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/1.751, allocations: 1.36 MB / 1.672 GB, free: 24.81 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/1.758, allocations: 2.806 MB / 1.674 GB, free: 24.79 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/1.762, allocations: 1.317 MB / 1.676 GB, free: 24.78 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004979/1.762, allocations: 200.7 kB / 1.676 GB, free: 24.78 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007174/1.77, allocations: 2.665 MB / 1.678 GB, free: 24.75 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.771, allocations: 0.7597 MB / 1.679 GB, free: 24.75 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.772, allocations: 0.9523 MB / 1.68 GB, free: 24.54 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.008391/1.781, allocations: 4.767 MB / 1.685 GB, free: 24 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.781, allocations: 0 / 1.685 GB, free: 24 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.023e-06/1.781, allocations: 3.094 kB / 1.685 GB, free: 24 MB / 1.295 GB Notification: Performance of Transformations before backend: time 7.754e-05/1.781, allocations: 4.969 kB / 1.685 GB, free: 24 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.0051/1.786, allocations: 2.712 MB / 1.687 GB, free: 22.6 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.786, allocations: 10.84 kB / 1.687 GB, free: 22.6 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/1.79, allocations: 0.723 MB / 1.688 GB, free: 22.46 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009655/1.8, allocations: 5.509 MB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/1.8, allocations: 87.25 kB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.8, allocations: 111.6 kB / 1.694 GB, free: 21.89 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.802, allocations: 1.547 MB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/1.802, allocations: 9.5 kB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.803, allocations: 46.97 kB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/1.803, allocations: 42.66 kB / 1.695 GB, free: 21.33 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/1.805, allocations: 0.9785 MB / 1.696 GB, free: 21.31 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.007376/1.812, allocations: 6.307 MB / 1.702 GB, free: 17.69 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/1.813, allocations: 282.4 kB / 1.703 GB, free: 17.66 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/1.813, allocations: 108.2 kB / 1.703 GB, free: 17.64 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/1.813, allocations: 34.25 kB / 1.703 GB, free: 17.64 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.813, allocations: 40.06 kB / 1.703 GB, free: 17.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/1.813, allocations: 0 / 1.703 GB, free: 17.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=18): time 0.00142/1.815, allocations: 0.509 MB / 1.703 GB, free: 17.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/1.815, allocations: 51.41 kB / 1.703 GB, free: 17.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.817, allocations: 1.973 MB / 1.705 GB, free: 17.12 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/1.817, allocations: 31.48 kB / 1.705 GB, free: 17.09 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006795/1.818, allocations: 1.013 MB / 1.706 GB, free: 16.69 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/1.818, allocations: 86.05 kB / 1.706 GB, free: 16.64 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/1.819, allocations: 283.5 kB / 1.707 GB, free: 16.61 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/1.819, allocations: 358 kB / 1.707 GB, free: 16.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008068/1.819, allocations: 460.5 kB / 1.707 GB, free: 16.29 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.82, allocations: 0.9916 MB / 1.708 GB, free: 15.61 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/1.822, allocations: 1.222 MB / 1.71 GB, free: 15.08 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.822, allocations: 5.344 kB / 1.71 GB, free: 15.08 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002515/1.824, allocations: 1.493 MB / 1.711 GB, free: 14.65 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.824, allocations: 8.75 kB / 1.711 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.824, allocations: 17.53 kB / 1.711 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/1.825, allocations: 18.84 kB / 1.711 GB, free: 14.65 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/1.825, allocations: 252 kB / 1.711 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/1.825, allocations: 27.34 kB / 1.711 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.827, allocations: 169.8 kB / 1.712 GB, free: 14.55 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/1.827, allocations: 51.89 kB / 1.712 GB, free: 14.55 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001915/1.829, allocations: 0.9314 MB / 1.713 GB, free: 14.08 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/1.83, allocations: 0.9911 MB / 1.714 GB, free: 13.23 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00151/1.832, allocations: 1.211 MB / 1.715 GB, free: 12.38 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.593e-06/1.832, allocations: 9.906 kB / 1.715 GB, free: 12.37 MB / 1.295 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002488/1.834, allocations: 1.47 MB / 1.716 GB, free: 11.84 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.834, allocations: 10.5 kB / 1.716 GB, free: 11.84 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.834, allocations: 14.12 kB / 1.716 GB, free: 11.84 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.834, allocations: 20.59 kB / 1.716 GB, free: 11.84 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/1.835, allocations: 244.1 kB / 1.716 GB, free: 11.83 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/1.835, allocations: 27.94 kB / 1.716 GB, free: 11.83 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.836, allocations: 132.2 kB / 1.717 GB, free: 11.78 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/1.836, allocations: 52.38 kB / 1.717 GB, free: 11.77 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003007/1.837, allocations: 246.8 kB / 1.717 GB, free: 11.55 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.837, allocations: 184.9 kB / 1.717 GB, free: 11.45 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/1.837, allocations: 146.4 kB / 1.717 GB, free: 11.38 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.837, allocations: 0 / 1.717 GB, free: 11.38 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.837, allocations: 0 / 1.717 GB, free: 11.38 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.837, allocations: 9.641 kB / 1.717 GB, free: 11.38 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/1.84, allocations: 1.638 MB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.84, allocations: 5.438 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/1.84, allocations: 46.53 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.84, allocations: 4.969 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.84, allocations: 8.969 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.84, allocations: 7.719 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.84, allocations: 12.06 kB / 1.719 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/1.841, allocations: 0.5585 MB / 1.719 GB, free: 10.05 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.842, allocations: 229.6 kB / 1.72 GB, free: 9.898 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/1.842, allocations: 9.094 kB / 1.72 GB, free: 9.898 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/1.842, allocations: 49.34 kB / 1.72 GB, free: 9.891 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/1.843, allocations: 27.11 kB / 1.72 GB, free: 9.883 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.843, allocations: 7.5 kB / 1.72 GB, free: 9.883 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00179/1.844, allocations: 1.312 MB / 1.721 GB, free: 9.34 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.844, allocations: 4 kB / 1.721 GB, free: 9.336 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002581/1.847, allocations: 0.8681 MB / 1.722 GB, free: 9.168 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0008353/1.848, allocations: 435.2 kB / 1.722 GB, free: 9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.85, allocations: 1.345 MB / 1.724 GB, free: 8.605 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.85, allocations: 2.312 kB / 1.724 GB, free: 8.605 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/1.851, allocations: 122 kB / 1.724 GB, free: 8.574 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.854, allocations: 0.8258 MB / 1.725 GB, free: 8.305 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/1.858, allocations: 3.127 MB / 1.728 GB, free: 6.562 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/1.859, allocations: 0.8987 MB / 1.728 GB, free: 6.277 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.859, allocations: 117.1 kB / 1.729 GB, free: 6.266 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.859, allocations: 0 / 1.729 GB, free: 6.266 MB / 1.295 GB Notification: Performance of Templates: time 0.04912/1.908, allocations: 31.06 MB / 1.759 GB, free: 8.473 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: 19.276054996997118]