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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001993/0.001993, allocations: 115.2 kB / 16.42 MB, free: 6.453 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.002124/0.002124, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.933/1.933, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.956/2.956, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.39/1.522, allocations: 312.7 MB / 1.514 GB, free: 3.785 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04852/1.57, allocations: 29.36 MB / 1.542 GB, free: 6.336 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005445/1.576, allocations: 79.62 kB / 1.543 GB, free: 6.258 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.008933/1.585, allocations: 2.395 MB / 1.545 GB, free: 3.855 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.597, allocations: 3.181 MB / 1.548 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.009706/1.607, allocations: 2.753 MB / 1.551 GB, free: 13.91 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01769/1.625, allocations: 7.539 MB / 1.558 GB, free: 6.355 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005449/1.63, allocations: 2.095 MB / 1.56 GB, free: 4.215 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00724/1.638, allocations: 2.425 MB / 1.562 GB, free: 1.781 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/1.643, allocations: 1.522 MB / 1.564 GB, free: 268 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008876/1.644, allocations: 256 kB / 1.564 GB, free: 12 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347/2.99, allocations: 3.597 MB / 1.568 GB, free: 37.33 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002998/2.993, allocations: 0.8271 MB / 1.568 GB, free: 37.33 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005089/2.998, allocations: 1.389 MB / 1.57 GB, free: 37.33 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/3.019, allocations: 5.431 MB / 1.575 GB, free: 37.22 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/3.019, allocations: 0.6094 kB / 1.575 GB, free: 37.22 MB / 1.279 GB Notification: Performance of FrontEnd: time 4.068e-06/3.019, allocations: 0 / 1.575 GB, free: 37.22 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001654/3.019, allocations: 0 / 1.575 GB, free: 37.22 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.01035/3.029, allocations: 2.933 MB / 1.578 GB, free: 35.82 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.673e-05/3.029, allocations: 11.27 kB / 1.578 GB, free: 35.82 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/3.036, allocations: 0.9341 MB / 1.579 GB, free: 35.69 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/3.049, allocations: 5.737 MB / 1.585 GB, free: 35.14 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/3.049, allocations: 107.3 kB / 1.585 GB, free: 35.14 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/3.05, allocations: 133.2 kB / 1.585 GB, free: 35.14 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/3.054, allocations: 1.589 MB / 1.586 GB, free: 34.95 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/3.054, allocations: 3.094 kB / 1.586 GB, free: 34.95 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/3.054, allocations: 55.78 kB / 1.586 GB, free: 34.95 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/3.054, allocations: 51.88 kB / 1.586 GB, free: 34.95 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003389/3.057, allocations: 1.329 MB / 1.588 GB, free: 34.93 MB / 1.279 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.01276/3.07, allocations: 7.592 MB / 1.595 GB, free: 31.23 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/3.072, allocations: 0.6788 MB / 1.596 GB, free: 31.12 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006513/3.073, allocations: 255.3 kB / 1.596 GB, free: 31.11 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/3.073, allocations: 189.8 kB / 1.596 GB, free: 30.92 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/3.074, allocations: 38.23 kB / 1.596 GB, free: 30.88 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 7.454e-06/3.074, allocations: 2.969 kB / 1.596 GB, free: 30.88 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003229/3.077, allocations: 1.039 MB / 1.597 GB, free: 30.54 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/3.077, allocations: 53.72 kB / 1.597 GB, free: 30.48 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/3.081, allocations: 2.369 MB / 1.6 GB, free: 30.23 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/3.081, allocations: 32.45 kB / 1.6 GB, free: 30.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009386/3.082, allocations: 0.9606 MB / 1.601 GB, free: 29.95 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/3.082, allocations: 129.7 kB / 1.601 GB, free: 29.86 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/3.083, allocations: 257.5 kB / 1.601 GB, free: 29.84 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001436/3.083, allocations: 345.7 kB / 1.601 GB, free: 29.53 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/3.084, allocations: 0.5163 MB / 1.602 GB, free: 29.52 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/3.086, allocations: 0.7956 MB / 1.603 GB, free: 29.21 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/3.088, allocations: 1.116 MB / 1.604 GB, free: 28.95 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/3.088, allocations: 4.094 kB / 1.604 GB, free: 28.95 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003635/3.091, allocations: 1.632 MB / 1.605 GB, free: 28.68 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/3.091, allocations: 8.469 kB / 1.605 GB, free: 28.68 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/3.092, allocations: 9.281 kB / 1.605 GB, free: 28.68 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/3.092, allocations: 42.2 kB / 1.605 GB, free: 28.68 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/3.093, allocations: 238.5 kB / 1.606 GB, free: 28.68 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/3.094, allocations: 1.572 MB / 1.607 GB, free: 27.19 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/3.097, allocations: 237.8 kB / 1.607 GB, free: 27.11 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/3.097, allocations: 38.62 kB / 1.607 GB, free: 27.11 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002578/3.099, allocations: 1.012 MB / 1.608 GB, free: 27.03 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001457/3.101, allocations: 0.7826 MB / 1.609 GB, free: 26.72 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002027/3.103, allocations: 1.103 MB / 1.61 GB, free: 26.44 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.197e-06/3.103, allocations: 4.25 kB / 1.61 GB, free: 26.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003656/3.106, allocations: 1.6 MB / 1.612 GB, free: 26.18 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/3.107, allocations: 10.12 kB / 1.612 GB, free: 26.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/3.107, allocations: 7.5 kB / 1.612 GB, free: 26.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/3.107, allocations: 33.28 kB / 1.612 GB, free: 26.17 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/3.108, allocations: 236.3 kB / 1.612 GB, free: 26.17 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/3.109, allocations: 1.575 MB / 1.614 GB, free: 24.69 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/3.111, allocations: 164.8 kB / 1.614 GB, free: 24.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/3.111, allocations: 42.81 kB / 1.614 GB, free: 24.66 MB / 1.279 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.0003882/3.112, allocations: 236 kB / 1.614 GB, free: 24.47 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/3.112, allocations: 201.6 kB / 1.614 GB, free: 24.36 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/3.114, allocations: 0.7726 MB / 1.615 GB, free: 24.18 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/3.114, allocations: 0 / 1.615 GB, free: 24.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/3.114, allocations: 0 / 1.615 GB, free: 24.18 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/3.115, allocations: 355 kB / 1.615 GB, free: 23.97 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/3.116, allocations: 7.656 kB / 1.615 GB, free: 23.97 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/3.117, allocations: 65.95 kB / 1.615 GB, free: 23.97 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/3.117, allocations: 24.88 kB / 1.615 GB, free: 23.97 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001816/3.118, allocations: 0.5968 MB / 1.616 GB, free: 23.85 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002056/3.121, allocations: 1.07 MB / 1.617 GB, free: 23.51 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005182/3.121, allocations: 202.1 kB / 1.617 GB, free: 23.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003385/3.124, allocations: 1.636 MB / 1.619 GB, free: 23.36 MB / 1.279 GB Notification: Performance of Backend: time 4.91e-07/3.124, allocations: 0 / 1.619 GB, free: 23.36 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008289/3.133, allocations: 2.472 MB / 1.621 GB, free: 22.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.01167/3.144, allocations: 4.75 MB / 1.626 GB, free: 21 MB / 1.279 GB Notification: Performance of Templates: time 0.1141/3.259, allocations: 53.39 MB / 1.678 GB, free: 5.34 MB / 1.279 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches