Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008773/0.008773, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 59.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.421, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.384/1.805, allocations: 304.9 MB / 1.464 GB, free: 3.359 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0418/1.847, allocations: 27.44 MB / 1.491 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/1.851, allocations: 75.62 kB / 1.491 GB, free: 7.762 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006874/1.858, allocations: 2.271 MB / 1.493 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008945/1.867, allocations: 3.171 MB / 1.497 GB, free: 2.301 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007332/1.874, allocations: 2.782 MB / 1.499 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01259/1.886, allocations: 7.263 MB / 1.506 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/1.89, allocations: 1.82 MB / 1.508 GB, free: 6.395 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006114/1.896, allocations: 2.305 MB / 1.51 GB, free: 4.082 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/1.9, allocations: 1.363 MB / 1.512 GB, free: 2.723 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008274/1.9, allocations: 212 kB / 1.512 GB, free: 2.516 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/1.908, allocations: 3.224 MB / 1.515 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/1.909, allocations: 0.7673 MB / 1.516 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/1.911, allocations: 1.256 MB / 1.517 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009279/1.921, allocations: 4.933 MB / 1.522 GB, free: 8.305 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.921, allocations: 0 / 1.522 GB, free: 8.305 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.323e-06/1.921, allocations: 3.938 kB / 1.522 GB, free: 8.301 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000126/1.921, allocations: 0 / 1.522 GB, free: 8.301 MB / 1.186 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.005802/1.927, allocations: 2.829 MB / 1.525 GB, free: 5.395 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.927, allocations: 8.031 kB / 1.525 GB, free: 5.387 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004508/1.931, allocations: 0.7244 MB / 1.525 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/1.942, allocations: 5.657 MB / 1.531 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/1.942, allocations: 86.19 kB / 1.531 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/1.942, allocations: 115.9 kB / 1.531 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/1.945, allocations: 1.402 MB / 1.532 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/1.945, allocations: 3.938 kB / 1.532 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.945, allocations: 48 kB / 1.532 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/1.945, allocations: 41.98 kB / 1.532 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/1.947, allocations: 0.9717 MB / 1.533 GB, free: 12.14 MB / 1.201 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.009751/1.957, allocations: 7.686 MB / 1.541 GB, free: 4.047 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/1.958, allocations: 359.8 kB / 1.541 GB, free: 3.668 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/1.958, allocations: 120.8 kB / 1.541 GB, free: 3.547 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/1.958, allocations: 190.2 kB / 1.542 GB, free: 3.324 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/1.958, allocations: 38.56 kB / 1.542 GB, free: 3.277 MB / 1.201 GB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/1.958, allocations: 3.938 kB / 1.542 GB, free: 3.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=18): time 0.001598/1.96, allocations: 0.5294 MB / 1.542 GB, free: 2.738 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.96, allocations: 59.41 kB / 1.542 GB, free: 2.668 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/1.964, allocations: 2.276 MB / 1.544 GB, free: 380 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/1.964, allocations: 33.7 kB / 1.544 GB, free: 340 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.965, allocations: 0.992 MB / 1.545 GB, free: 15.33 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.965, allocations: 83.41 kB / 1.545 GB, free: 15.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/1.966, allocations: 290.4 kB / 1.546 GB, free: 14.95 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.966, allocations: 357.9 kB / 1.546 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009353/1.967, allocations: 452.9 kB / 1.547 GB, free: 14.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.968, allocations: 0.888 MB / 1.547 GB, free: 13.05 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/1.97, allocations: 1.219 MB / 1.549 GB, free: 11.64 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.97, allocations: 7.938 kB / 1.549 GB, free: 11.64 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002988/1.973, allocations: 1.507 MB / 1.55 GB, free: 10.12 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.973, allocations: 12 kB / 1.55 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.973, allocations: 12.91 kB / 1.55 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/1.973, allocations: 23.94 kB / 1.55 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/1.974, allocations: 251.6 kB / 1.55 GB, free: 9.828 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/1.974, allocations: 27.92 kB / 1.55 GB, free: 9.801 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.975, allocations: 218.5 kB / 1.551 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/1.975, allocations: 59.92 kB / 1.551 GB, free: 9.527 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/1.977, allocations: 0.9293 MB / 1.552 GB, free: 8.594 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00114/1.978, allocations: 0.8919 MB / 1.552 GB, free: 7.492 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00162/1.98, allocations: 1.199 MB / 1.554 GB, free: 6.098 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/1.98, allocations: 4 kB / 1.554 GB, free: 6.094 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002684/1.983, allocations: 1.49 MB / 1.555 GB, free: 4.598 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.983, allocations: 12 kB / 1.555 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.983, allocations: 12 kB / 1.555 GB, free: 4.574 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.983, allocations: 24.69 kB / 1.555 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008277/1.984, allocations: 243.6 kB / 1.555 GB, free: 4.312 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.984, allocations: 27.92 kB / 1.555 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.985, allocations: 143.5 kB / 1.556 GB, free: 4.145 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/1.985, allocations: 52 kB / 1.556 GB, free: 4.094 MB / 1.217 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.0003287/1.986, allocations: 248.5 kB / 1.556 GB, free: 3.844 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.986, allocations: 202.6 kB / 1.556 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/1.986, allocations: 172 kB / 1.556 GB, free: 3.473 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.986, allocations: 7.938 kB / 1.556 GB, free: 3.465 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.986, allocations: 0 / 1.556 GB, free: 3.465 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.986, allocations: 3.938 kB / 1.556 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.99, allocations: 1.874 MB / 1.558 GB, free: 1.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.99, allocations: 4 kB / 1.558 GB, free: 1.469 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/1.99, allocations: 51.89 kB / 1.558 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.99, allocations: 8.281 kB / 1.558 GB, free: 1.41 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/1.99, allocations: 11.98 kB / 1.558 GB, free: 1.398 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.99, allocations: 8 kB / 1.558 GB, free: 1.391 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.99, allocations: 11.88 kB / 1.558 GB, free: 1.379 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.991, allocations: 0.5737 MB / 1.559 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/1.991, allocations: 331.6 kB / 1.559 GB, free: 400 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/1.992, allocations: 11.98 kB / 1.559 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/1.992, allocations: 55.89 kB / 1.559 GB, free: 332 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/1.993, allocations: 27.86 kB / 1.559 GB, free: 304 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/1.993, allocations: 15.98 kB / 1.559 GB, free: 288 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002326/1.995, allocations: 1.54 MB / 1.561 GB, free: 14.73 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.2e-07/1.995, allocations: 0 / 1.561 GB, free: 14.73 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002278/1.997, allocations: 0.8308 MB / 1.561 GB, free: 13.89 MB / 1.232 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.0008996/1.998, allocations: 450.2 kB / 1.562 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002831/2.001, allocations: 1.443 MB / 1.563 GB, free: 12.02 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.001, allocations: 0 / 1.563 GB, free: 12.02 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/2.001, allocations: 128.2 kB / 1.563 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/2.005, allocations: 1.07 MB / 1.564 GB, free: 10.85 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/2.01, allocations: 3.057 MB / 1.567 GB, free: 7.699 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/2.011, allocations: 1.481 MB / 1.569 GB, free: 6.184 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001607/2.013, allocations: 469 kB / 1.569 GB, free: 5.723 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/2.013, allocations: 119.4 kB / 1.569 GB, free: 5.609 MB / 1.232 GB Notification: Performance of SimCode: time 1.112e-06/2.013, allocations: 0 / 1.569 GB, free: 5.609 MB / 1.232 GB Notification: Performance of Templates: time 0.06701/2.08, allocations: 36.1 MB / 1.605 GB, free: 1.945 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches