Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008293/0.008293, allocations: 100 kB / 15.73 MB, free: 6.062 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.001809/0.001809, allocations: 194.7 kB / 16.68 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.12 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4285, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.406/1.835, allocations: 313.4 MB / 1.527 GB, free: 11.46 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.04539/1.88, allocations: 29.43 MB / 1.555 GB, free: 13.94 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005244/1.885, allocations: 83.56 kB / 1.555 GB, free: 13.86 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008295/1.893, allocations: 2.438 MB / 1.558 GB, free: 11.41 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.905, allocations: 3.302 MB / 1.561 GB, free: 8.102 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.008931/1.914, allocations: 2.784 MB / 1.564 GB, free: 5.324 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01396/1.928, allocations: 7.554 MB / 1.571 GB, free: 13.75 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003982/1.932, allocations: 1.627 MB / 1.573 GB, free: 12.08 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/1.939, allocations: 2.449 MB / 1.575 GB, free: 9.621 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/1.943, allocations: 1.531 MB / 1.577 GB, free: 8.094 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0009603/1.944, allocations: 263.9 kB / 1.577 GB, free: 7.836 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009277/1.953, allocations: 3.621 MB / 1.58 GB, free: 4.207 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00156/1.955, allocations: 0.8489 MB / 1.581 GB, free: 3.355 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003449/1.958, allocations: 1.388 MB / 1.583 GB, free: 1.961 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/1.971, allocations: 5.455 MB / 1.588 GB, free: 12.49 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.971, allocations: 0 / 1.588 GB, free: 12.49 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.974e-06/1.971, allocations: 0 / 1.588 GB, free: 12.49 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002245/1.971, allocations: 0 / 1.588 GB, free: 12.49 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.01028/1.982, allocations: 3.025 MB / 1.591 GB, free: 9.387 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.982, allocations: 8.031 kB / 1.591 GB, free: 9.379 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/1.988, allocations: 0.9583 MB / 1.592 GB, free: 8.418 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/2.001, allocations: 5.759 MB / 1.597 GB, free: 2.605 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/2.001, allocations: 102.6 kB / 1.598 GB, free: 2.504 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/2.001, allocations: 132.9 kB / 1.598 GB, free: 2.375 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/2.006, allocations: 1.59 MB / 1.599 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/2.006, allocations: 7.875 kB / 1.599 GB, free: 0.7109 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/2.006, allocations: 52 kB / 1.599 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/2.006, allocations: 46.5 kB / 1.599 GB, free: 0.6133 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/2.01, allocations: 1.325 MB / 1.601 GB, free: 15.28 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.01429/2.024, allocations: 7.618 MB / 1.608 GB, free: 7.141 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/2.026, allocations: 0.6536 MB / 1.609 GB, free: 6.461 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/2.027, allocations: 240.7 kB / 1.609 GB, free: 6.223 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/2.027, allocations: 198.2 kB / 1.609 GB, free: 5.992 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.465e-05/2.027, allocations: 35.62 kB / 1.609 GB, free: 5.949 MB / 1.295 GB Notification: Performance of pre-optimization done (n=35): time 4.518e-06/2.027, allocations: 0 / 1.609 GB, free: 5.949 MB / 1.295 GB Notification: Performance of matching and sorting (n=35): time 0.00339/2.031, allocations: 1.05 MB / 1.61 GB, free: 4.852 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/2.031, allocations: 55.41 kB / 1.61 GB, free: 4.785 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/2.036, allocations: 2.368 MB / 1.613 GB, free: 2.398 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/2.036, allocations: 29.7 kB / 1.613 GB, free: 2.363 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/2.037, allocations: 0.9743 MB / 1.614 GB, free: 1.379 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/2.037, allocations: 134.9 kB / 1.614 GB, free: 1.246 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/2.038, allocations: 258.4 kB / 1.614 GB, free: 0.9844 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000177/2.038, allocations: 353.9 kB / 1.614 GB, free: 0.6328 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/2.039, allocations: 0.5242 MB / 1.615 GB, free: 108 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/2.041, allocations: 0.7853 MB / 1.616 GB, free: 15.2 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/2.043, allocations: 1.113 MB / 1.617 GB, free: 14 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/2.043, allocations: 4 kB / 1.617 GB, free: 14 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00418/2.047, allocations: 1.649 MB / 1.618 GB, free: 12.32 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/2.047, allocations: 15.88 kB / 1.618 GB, free: 12.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/2.047, allocations: 8.875 kB / 1.618 GB, free: 12.29 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/2.048, allocations: 32.84 kB / 1.618 GB, free: 12.26 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/2.049, allocations: 240 kB / 1.619 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/2.05, allocations: 1.577 MB / 1.62 GB, free: 10.31 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/2.053, allocations: 242.6 kB / 1.62 GB, free: 10.07 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/2.053, allocations: 39.98 kB / 1.62 GB, free: 10.03 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002345/2.055, allocations: 1.01 MB / 1.621 GB, free: 9.02 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00139/2.057, allocations: 0.7832 MB / 1.622 GB, free: 8.121 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002049/2.059, allocations: 1.105 MB / 1.623 GB, free: 6.918 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.4e-05/2.059, allocations: 5.562 kB / 1.623 GB, free: 6.914 MB / 1.311 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003568/2.062, allocations: 1.605 MB / 1.625 GB, free: 5.277 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/2.062, allocations: 12.38 kB / 1.625 GB, free: 5.266 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/2.062, allocations: 12 kB / 1.625 GB, free: 5.254 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/2.062, allocations: 40.94 kB / 1.625 GB, free: 5.211 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/2.064, allocations: 235.6 kB / 1.625 GB, free: 4.98 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/2.065, allocations: 1.572 MB / 1.627 GB, free: 3.27 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/2.067, allocations: 171.5 kB / 1.627 GB, free: 3.102 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/2.067, allocations: 32 kB / 1.627 GB, free: 3.07 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.0003223/2.067, allocations: 228 kB / 1.627 GB, free: 2.84 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/2.068, allocations: 222.5 kB / 1.627 GB, free: 2.621 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/2.07, allocations: 0.759 MB / 1.628 GB, free: 1.828 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/2.07, allocations: 4 kB / 1.628 GB, free: 1.824 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/2.07, allocations: 0 / 1.628 GB, free: 1.824 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/2.07, allocations: 4 kB / 1.628 GB, free: 1.82 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/2.075, allocations: 2.16 MB / 1.63 GB, free: 15.56 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/2.075, allocations: 4.219 kB / 1.63 GB, free: 15.55 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/2.075, allocations: 95.88 kB / 1.63 GB, free: 15.46 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/2.075, allocations: 28.78 kB / 1.63 GB, free: 15.43 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/2.075, allocations: 11.98 kB / 1.63 GB, free: 15.42 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/2.077, allocations: 1.569 MB / 1.632 GB, free: 13.71 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/2.077, allocations: 0 / 1.632 GB, free: 13.71 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/2.078, allocations: 0.9056 MB / 1.633 GB, free: 12.75 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008885/2.079, allocations: 367.5 kB / 1.633 GB, free: 12.37 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/2.08, allocations: 11.98 kB / 1.633 GB, free: 12.36 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/2.081, allocations: 59.94 kB / 1.633 GB, free: 12.3 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/2.081, allocations: 35.84 kB / 1.633 GB, free: 12.26 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/2.081, allocations: 19.98 kB / 1.633 GB, free: 12.24 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.003297/2.084, allocations: 1.639 MB / 1.635 GB, free: 10.59 MB / 1.326 GB Notification: Performance of sort global known variables: time 9e-08/2.084, allocations: 0 / 1.635 GB, free: 10.59 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003124/2.088, allocations: 0.897 MB / 1.636 GB, free: 9.695 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.001176/2.089, allocations: 468.7 kB / 1.636 GB, free: 9.227 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.004077/2.093, allocations: 1.7 MB / 1.638 GB, free: 7.504 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/2.093, allocations: 0 / 1.638 GB, free: 7.504 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/2.094, allocations: 343.9 kB / 1.638 GB, free: 7.156 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/2.099, allocations: 1.249 MB / 1.639 GB, free: 5.938 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007012/2.106, allocations: 3.303 MB / 1.642 GB, free: 2.57 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/2.108, allocations: 1.537 MB / 1.644 GB, free: 1 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002256/2.11, allocations: 473.9 kB / 1.644 GB, free: 0.5352 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/2.11, allocations: 131.4 kB / 1.645 GB, free: 416 kB / 1.326 GB Notification: Performance of SimCode: time 1.152e-06/2.11, allocations: 0 / 1.645 GB, free: 416 kB / 1.326 GB Notification: Performance of Templates: time 0.07026/2.181, allocations: 39.88 MB / 1.683 GB, free: 9.012 MB / 1.373 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches