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) 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 12.0.0-master/package.mo", uses=false) 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=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_latest_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_latest_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.01047/0.01047, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.00243/0.00243, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7453 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 71.89 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4136, allocations: 159.9 MB / 1.226 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.344/1.758, allocations: 312.7 MB / 1.531 GB, free: 5.32 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.04742/1.805, allocations: 29.36 MB / 1.56 GB, free: 7.879 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006166/1.811, allocations: 79.62 kB / 1.56 GB, free: 7.801 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008552/1.82, allocations: 2.399 MB / 1.562 GB, free: 5.395 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/1.831, allocations: 3.181 MB / 1.565 GB, free: 2.199 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008542/1.84, allocations: 2.757 MB / 1.568 GB, free: 15.45 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.0134/1.853, allocations: 7.541 MB / 1.575 GB, free: 7.898 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/1.857, allocations: 2.092 MB / 1.577 GB, free: 5.766 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/1.863, allocations: 2.386 MB / 1.58 GB, free: 3.371 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/1.868, allocations: 1.526 MB / 1.581 GB, free: 1.848 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0009418/1.869, allocations: 256 kB / 1.581 GB, free: 1.598 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009332/1.878, allocations: 3.617 MB / 1.585 GB, free: 13.97 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/1.88, allocations: 0.8219 MB / 1.586 GB, free: 13.15 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002582/1.882, allocations: 1.392 MB / 1.587 GB, free: 11.75 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/1.896, allocations: 5.455 MB / 1.592 GB, free: 6.277 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.896, allocations: 0 / 1.592 GB, free: 6.277 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.735e-06/1.896, allocations: 0 / 1.592 GB, free: 6.277 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001255/1.896, allocations: 3.938 kB / 1.592 GB, free: 6.273 MB / 1.279 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.00732/1.904, allocations: 3.025 MB / 1.595 GB, free: 3.172 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.904, allocations: 12.03 kB / 1.595 GB, free: 3.16 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/1.91, allocations: 0.9505 MB / 1.596 GB, free: 2.207 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/1.921, allocations: 5.759 MB / 1.602 GB, free: 12.39 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.921, allocations: 102.6 kB / 1.602 GB, free: 12.29 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/1.922, allocations: 136 kB / 1.602 GB, free: 12.16 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/1.925, allocations: 1.59 MB / 1.604 GB, free: 10.5 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/1.925, allocations: 3.938 kB / 1.604 GB, free: 10.5 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/1.925, allocations: 52 kB / 1.604 GB, free: 10.45 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/1.925, allocations: 50.48 kB / 1.604 GB, free: 10.4 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/1.929, allocations: 1.333 MB / 1.605 GB, free: 9.059 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.01252/1.941, allocations: 7.619 MB / 1.613 GB, free: 0.9102 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/1.943, allocations: 0.6691 MB / 1.613 GB, free: 220 kB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/1.944, allocations: 257.3 kB / 1.613 GB, free: 15.96 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/1.944, allocations: 202 kB / 1.614 GB, free: 15.73 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.944, allocations: 34.56 kB / 1.614 GB, free: 15.68 MB / 1.311 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/1.944, allocations: 4 kB / 1.614 GB, free: 15.68 MB / 1.311 GB Notification: Performance of matching and sorting (n=35): time 0.002996/1.947, allocations: 1.046 MB / 1.615 GB, free: 14.59 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.947, allocations: 55.41 kB / 1.615 GB, free: 14.52 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/1.951, allocations: 2.361 MB / 1.617 GB, free: 12.14 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.951, allocations: 37.7 kB / 1.617 GB, free: 12.1 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/1.952, allocations: 0.9743 MB / 1.618 GB, free: 11.11 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/1.952, allocations: 134.9 kB / 1.618 GB, free: 10.98 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/1.953, allocations: 254.4 kB / 1.618 GB, free: 10.73 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.953, allocations: 353.9 kB / 1.619 GB, free: 10.38 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/1.954, allocations: 0.5126 MB / 1.619 GB, free: 9.855 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/1.955, allocations: 0.8007 MB / 1.62 GB, free: 8.938 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.958, allocations: 1.121 MB / 1.621 GB, free: 7.723 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.958, allocations: 4 kB / 1.621 GB, free: 7.719 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003633/1.961, allocations: 1.642 MB / 1.623 GB, free: 6.047 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.961, allocations: 11.94 kB / 1.623 GB, free: 6.035 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/1.961, allocations: 8 kB / 1.623 GB, free: 6.027 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002055/1.961, allocations: 44.77 kB / 1.623 GB, free: 5.98 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.963, allocations: 240 kB / 1.623 GB, free: 5.746 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/1.964, allocations: 1.569 MB / 1.625 GB, free: 4.039 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.966, allocations: 246.9 kB / 1.625 GB, free: 3.797 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.966, allocations: 39.98 kB / 1.625 GB, free: 3.758 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002279/1.969, allocations: 1.018 MB / 1.626 GB, free: 2.738 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001302/1.97, allocations: 0.7738 MB / 1.627 GB, free: 1.848 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001915/1.972, allocations: 1.101 MB / 1.628 GB, free: 0.6484 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/1.972, allocations: 4 kB / 1.628 GB, free: 0.6445 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003699/1.976, allocations: 1.616 MB / 1.629 GB, free: 15 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.976, allocations: 10.03 kB / 1.629 GB, free: 14.99 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.976, allocations: 4.375 kB / 1.629 GB, free: 14.98 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/1.976, allocations: 44.78 kB / 1.629 GB, free: 14.94 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.977, allocations: 235.7 kB / 1.629 GB, free: 14.71 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/1.978, allocations: 1.576 MB / 1.631 GB, free: 12.99 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/1.98, allocations: 163.6 kB / 1.631 GB, free: 12.83 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/1.98, allocations: 43.97 kB / 1.631 GB, free: 12.79 MB / 1.326 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.0003348/1.98, allocations: 228 kB / 1.631 GB, free: 12.56 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/1.981, allocations: 222.5 kB / 1.632 GB, free: 12.34 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.983, allocations: 0.7639 MB / 1.632 GB, free: 11.54 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.983, allocations: 4 kB / 1.632 GB, free: 11.54 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.983, allocations: 4 kB / 1.632 GB, free: 11.54 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.983, allocations: 4 kB / 1.632 GB, free: 11.53 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/1.987, allocations: 2.156 MB / 1.635 GB, free: 9.273 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.987, allocations: 4.219 kB / 1.635 GB, free: 9.27 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/1.987, allocations: 95.88 kB / 1.635 GB, free: 9.176 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.055e-05/1.987, allocations: 28.84 kB / 1.635 GB, free: 9.145 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/1.987, allocations: 11.98 kB / 1.635 GB, free: 9.133 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/1.988, allocations: 1.564 MB / 1.636 GB, free: 7.434 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.988, allocations: 11.88 kB / 1.636 GB, free: 7.422 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.99, allocations: 0.8944 MB / 1.637 GB, free: 6.469 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/1.991, allocations: 363.5 kB / 1.637 GB, free: 6.094 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/1.991, allocations: 11.98 kB / 1.637 GB, free: 6.082 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.992, allocations: 63.94 kB / 1.637 GB, free: 6.02 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/1.992, allocations: 31.91 kB / 1.638 GB, free: 5.988 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/1.992, allocations: 19.98 kB / 1.638 GB, free: 5.969 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002671/1.995, allocations: 1.635 MB / 1.639 GB, free: 4.324 MB / 1.326 GB Notification: Performance of sort global known variables: time 2.91e-07/1.995, allocations: 0 / 1.639 GB, free: 4.324 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00251/1.997, allocations: 0.897 MB / 1.64 GB, free: 3.426 MB / 1.326 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.000956/1.998, allocations: 458.4 kB / 1.64 GB, free: 2.965 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004011/2.002, allocations: 1.832 MB / 1.642 GB, free: 1.109 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.002, allocations: 0 / 1.642 GB, free: 1.109 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/2.003, allocations: 348 kB / 1.643 GB, free: 0.7578 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/2.009, allocations: 1.242 MB / 1.644 GB, free: 15.54 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/2.014, allocations: 3.31 MB / 1.647 GB, free: 12.17 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/2.016, allocations: 1.537 MB / 1.649 GB, free: 10.6 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002013/2.018, allocations: 477.8 kB / 1.649 GB, free: 10.13 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/2.018, allocations: 135.4 kB / 1.649 GB, free: 10 MB / 1.342 GB Notification: Performance of SimCode: time 1.072e-06/2.018, allocations: 3.938 kB / 1.649 GB, free: 9.996 MB / 1.342 GB Notification: Performance of Templates: time 0.06576/2.084, allocations: 39.71 MB / 1.688 GB, free: 2.727 MB / 1.373 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches