Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006714/0.006715, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.001535/0.001535, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.836/2.836, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4103, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.374/1.784, allocations: 312.7 MB / 1.472 GB, free: 11.53 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04936/1.834, allocations: 29.36 MB / 1.501 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006089/1.84, allocations: 83.56 kB / 1.501 GB, free: 14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009667/1.849, allocations: 2.422 MB / 1.503 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/1.865, allocations: 3.298 MB / 1.506 GB, free: 8.262 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01093/1.876, allocations: 2.782 MB / 1.509 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01559/1.891, allocations: 7.548 MB / 1.516 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005814/1.897, allocations: 2.094 MB / 1.518 GB, free: 11.79 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/1.905, allocations: 2.441 MB / 1.521 GB, free: 9.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/1.909, allocations: 1.526 MB / 1.522 GB, free: 7.812 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/1.91, allocations: 256 kB / 1.523 GB, free: 7.562 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009095/1.92, allocations: 3.617 MB / 1.526 GB, free: 3.938 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/1.921, allocations: 0.8335 MB / 1.527 GB, free: 3.102 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003712/1.925, allocations: 1.388 MB / 1.528 GB, free: 1.707 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/1.938, allocations: 5.459 MB / 1.534 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.938, allocations: 4 kB / 1.534 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.014e-06/1.938, allocations: 0 / 1.534 GB, free: 12.23 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001668/1.938, allocations: 0 / 1.534 GB, free: 12.23 MB / 1.201 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.01152/1.95, allocations: 3.013 MB / 1.537 GB, free: 9.137 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/1.95, allocations: 15.95 kB / 1.537 GB, free: 9.121 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00697/1.957, allocations: 0.9466 MB / 1.537 GB, free: 8.172 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.969, allocations: 5.765 MB / 1.543 GB, free: 2.355 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/1.969, allocations: 106.5 kB / 1.543 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/1.969, allocations: 132 kB / 1.543 GB, free: 2.121 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/1.973, allocations: 1.582 MB / 1.545 GB, free: 484 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/1.973, allocations: 3.938 kB / 1.545 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.973, allocations: 59.94 kB / 1.545 GB, free: 420 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/1.973, allocations: 50.5 kB / 1.545 GB, free: 368 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/1.976, allocations: 1.325 MB / 1.546 GB, free: 15.03 MB / 1.217 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.01154/1.988, allocations: 7.639 MB / 1.554 GB, free: 6.859 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.99, allocations: 0.6712 MB / 1.554 GB, free: 6.164 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006224/1.99, allocations: 252.7 kB / 1.555 GB, free: 5.914 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/1.991, allocations: 194.2 kB / 1.555 GB, free: 5.688 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/1.991, allocations: 38.56 kB / 1.555 GB, free: 5.641 MB / 1.217 GB Notification: Performance of pre-optimization done (n=35): time 3.015e-06/1.991, allocations: 0 / 1.555 GB, free: 5.641 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.003223/1.994, allocations: 1.056 MB / 1.556 GB, free: 4.539 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.994, allocations: 55.41 kB / 1.556 GB, free: 4.473 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/1.998, allocations: 2.368 MB / 1.558 GB, free: 2.086 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.998, allocations: 33.7 kB / 1.558 GB, free: 2.047 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009738/1.999, allocations: 0.9782 MB / 1.559 GB, free: 1.059 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.999, allocations: 134.9 kB / 1.559 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/2, allocations: 250.5 kB / 1.56 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001414/2, allocations: 353.9 kB / 1.56 GB, free: 328 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/2.001, allocations: 0.5165 MB / 1.56 GB, free: 15.8 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/2.002, allocations: 0.7931 MB / 1.561 GB, free: 14.89 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/2.004, allocations: 1.113 MB / 1.562 GB, free: 13.68 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/2.004, allocations: 4 kB / 1.562 GB, free: 13.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003646/2.008, allocations: 1.641 MB / 1.564 GB, free: 12 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/2.008, allocations: 12.31 kB / 1.564 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/2.008, allocations: 15.94 kB / 1.564 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/2.008, allocations: 32.84 kB / 1.564 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/2.01, allocations: 239.6 kB / 1.564 GB, free: 11.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/2.011, allocations: 1.576 MB / 1.566 GB, free: 9.992 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/2.013, allocations: 246.7 kB / 1.566 GB, free: 9.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/2.013, allocations: 39.98 kB / 1.566 GB, free: 9.711 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002149/2.015, allocations: 1.014 MB / 1.567 GB, free: 8.695 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001311/2.017, allocations: 0.7775 MB / 1.568 GB, free: 7.801 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001883/2.019, allocations: 1.104 MB / 1.569 GB, free: 6.598 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/2.019, allocations: 7.938 kB / 1.569 GB, free: 6.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003415/2.022, allocations: 1.613 MB / 1.57 GB, free: 4.949 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/2.022, allocations: 11.98 kB / 1.57 GB, free: 4.938 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.022, allocations: 11.94 kB / 1.57 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/2.022, allocations: 32.84 kB / 1.57 GB, free: 4.891 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/2.023, allocations: 236 kB / 1.571 GB, free: 4.66 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/2.025, allocations: 1.572 MB / 1.572 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/2.027, allocations: 159.6 kB / 1.572 GB, free: 2.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/2.027, allocations: 39.98 kB / 1.572 GB, free: 2.754 MB / 1.232 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.0003346/2.027, allocations: 236 kB / 1.573 GB, free: 2.516 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/2.027, allocations: 218.5 kB / 1.573 GB, free: 2.301 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/2.029, allocations: 0.7629 MB / 1.574 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/2.029, allocations: 0 / 1.574 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.029, allocations: 4 kB / 1.574 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/2.029, allocations: 3.984 kB / 1.574 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/2.033, allocations: 2.157 MB / 1.576 GB, free: 15.24 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/2.033, allocations: 4 kB / 1.576 GB, free: 15.24 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/2.034, allocations: 100.1 kB / 1.576 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/2.034, allocations: 32.78 kB / 1.576 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/2.034, allocations: 8 kB / 1.576 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/2.035, allocations: 1.564 MB / 1.577 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/2.035, allocations: 4 kB / 1.577 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/2.037, allocations: 0.9023 MB / 1.578 GB, free: 12.43 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/2.038, allocations: 363.5 kB / 1.579 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/2.038, allocations: 8 kB / 1.579 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/2.039, allocations: 71.92 kB / 1.579 GB, free: 11.98 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/2.039, allocations: 27.86 kB / 1.579 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/2.039, allocations: 23.97 kB / 1.579 GB, free: 11.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002964/2.042, allocations: 1.639 MB / 1.58 GB, free: 10.28 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.146e-06/2.042, allocations: 0 / 1.58 GB, free: 10.28 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003268/2.046, allocations: 0.8969 MB / 1.581 GB, free: 9.379 MB / 1.248 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.001278/2.047, allocations: 458.4 kB / 1.582 GB, free: 8.918 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004386/2.051, allocations: 1.83 MB / 1.583 GB, free: 7.066 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/2.051, allocations: 320 / 1.583 GB, free: 7.066 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/2.052, allocations: 354.8 kB / 1.584 GB, free: 6.707 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005442/2.057, allocations: 1.245 MB / 1.585 GB, free: 5.496 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/2.064, allocations: 3.299 MB / 1.588 GB, free: 2.133 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/2.065, allocations: 1.541 MB / 1.59 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002147/2.067, allocations: 473.9 kB / 1.59 GB, free: 92 kB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/2.067, allocations: 143.4 kB / 1.59 GB, free: 15.95 MB / 1.264 GB Notification: Performance of SimCode: time 1.022e-06/2.067, allocations: 0 / 1.59 GB, free: 15.95 MB / 1.264 GB Notification: Performance of Templates: time 0.06768/2.135, allocations: 39.68 MB / 1.629 GB, free: 8.77 MB / 1.295 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches