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.001504/0.001504, allocations: 113.2 kB / 16.42 MB, free: 6.48 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.001884/0.001884, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3999/1.469, allocations: 312.7 MB / 1.532 GB, free: 3.695 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04582/1.515, allocations: 29.38 MB / 1.56 GB, free: 6.234 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005123/1.52, allocations: 83.56 kB / 1.56 GB, free: 6.152 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.00873/1.529, allocations: 2.43 MB / 1.563 GB, free: 3.715 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/1.539, allocations: 3.302 MB / 1.566 GB, free: 408 kB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 1.124/2.663, allocations: 2.774 MB / 1.569 GB, free: 28.49 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01804/2.681, allocations: 7.547 MB / 1.576 GB, free: 28.48 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004906/2.686, allocations: 2.088 MB / 1.578 GB, free: 28.26 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/2.694, allocations: 2.449 MB / 1.581 GB, free: 28.26 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004972/2.699, allocations: 1.53 MB / 1.582 GB, free: 28.25 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008572/2.7, allocations: 255.6 kB / 1.582 GB, free: 28.25 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/2.711, allocations: 3.623 MB / 1.586 GB, free: 28.25 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/2.713, allocations: 0.8239 MB / 1.587 GB, free: 28.25 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004357/2.718, allocations: 1.393 MB / 1.588 GB, free: 28.25 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01452/2.732, allocations: 5.459 MB / 1.593 GB, free: 27.96 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/2.732, allocations: 3.422 kB / 1.593 GB, free: 27.96 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.685e-06/2.732, allocations: 0 / 1.593 GB, free: 27.96 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001031/2.732, allocations: 0.9062 kB / 1.593 GB, free: 27.96 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.00726/2.74, allocations: 3.024 MB / 1.596 GB, free: 26.42 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/2.74, allocations: 8.062 kB / 1.596 GB, free: 26.42 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/2.746, allocations: 0.9463 MB / 1.597 GB, free: 26.28 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/2.756, allocations: 5.757 MB / 1.603 GB, free: 25.71 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/2.757, allocations: 103.7 kB / 1.603 GB, free: 25.71 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/2.757, allocations: 132.1 kB / 1.603 GB, free: 25.71 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/2.76, allocations: 1.591 MB / 1.605 GB, free: 25.52 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/2.76, allocations: 3.188 kB / 1.605 GB, free: 25.52 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/2.76, allocations: 55.69 kB / 1.605 GB, free: 25.52 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/2.76, allocations: 48.5 kB / 1.605 GB, free: 25.51 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/2.763, allocations: 1.325 MB / 1.606 GB, free: 25.5 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.01082/2.774, allocations: 7.632 MB / 1.613 GB, free: 21.75 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/2.776, allocations: 0.6773 MB / 1.614 GB, free: 21.63 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/2.777, allocations: 253.5 kB / 1.614 GB, free: 21.62 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/2.777, allocations: 196.3 kB / 1.615 GB, free: 21.44 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/2.777, allocations: 40.91 kB / 1.615 GB, free: 21.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.515e-06/2.777, allocations: 1.125 kB / 1.615 GB, free: 21.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002831/2.78, allocations: 1.051 MB / 1.616 GB, free: 21.05 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/2.78, allocations: 53.22 kB / 1.616 GB, free: 20.98 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/2.784, allocations: 2.356 MB / 1.618 GB, free: 20.75 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/2.784, allocations: 36.02 kB / 1.618 GB, free: 20.71 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008292/2.785, allocations: 0.9793 MB / 1.619 GB, free: 20.44 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/2.785, allocations: 136.1 kB / 1.619 GB, free: 20.36 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/2.785, allocations: 252.5 kB / 1.619 GB, free: 20.33 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001001/2.785, allocations: 350.2 kB / 1.62 GB, free: 20.02 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/2.786, allocations: 0.5119 MB / 1.62 GB, free: 20.02 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/2.788, allocations: 0.7989 MB / 1.621 GB, free: 19.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/2.79, allocations: 1.118 MB / 1.622 GB, free: 19.44 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/2.79, allocations: 4.625 kB / 1.622 GB, free: 19.44 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003553/2.793, allocations: 1.64 MB / 1.624 GB, free: 19.16 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/2.793, allocations: 12.8 kB / 1.624 GB, free: 19.16 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/2.793, allocations: 4.844 kB / 1.624 GB, free: 19.16 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/2.794, allocations: 39.42 kB / 1.624 GB, free: 19.15 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/2.795, allocations: 241.5 kB / 1.624 GB, free: 19.15 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/2.796, allocations: 1.576 MB / 1.625 GB, free: 17.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/2.798, allocations: 250.1 kB / 1.626 GB, free: 17.56 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/2.798, allocations: 42.64 kB / 1.626 GB, free: 17.56 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002428/2.801, allocations: 1.012 MB / 1.627 GB, free: 17.48 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001502/2.802, allocations: 0.7788 MB / 1.628 GB, free: 17.16 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002165/2.804, allocations: 1.096 MB / 1.629 GB, free: 16.87 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/2.804, allocations: 3.188 kB / 1.629 GB, free: 16.87 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003687/2.808, allocations: 1.621 MB / 1.63 GB, free: 16.57 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/2.808, allocations: 10.19 kB / 1.63 GB, free: 16.57 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/2.808, allocations: 5.938 kB / 1.63 GB, free: 16.57 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/2.808, allocations: 36 kB / 1.63 GB, free: 16.56 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/2.809, allocations: 235.6 kB / 1.63 GB, free: 16.56 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009974/2.81, allocations: 1.57 MB / 1.632 GB, free: 15.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/2.812, allocations: 173.3 kB / 1.632 GB, free: 15.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.535e-05/2.812, allocations: 41.42 kB / 1.632 GB, free: 15.02 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.0003469/2.813, allocations: 234.4 kB / 1.632 GB, free: 14.83 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/2.813, allocations: 217.9 kB / 1.633 GB, free: 14.71 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/2.815, allocations: 0.7621 MB / 1.633 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/2.815, allocations: 2.812 kB / 1.633 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/2.815, allocations: 0 / 1.633 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/2.816, allocations: 367.8 kB / 1.634 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/2.816, allocations: 2.312 kB / 1.634 GB, free: 14.31 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/2.817, allocations: 62.59 kB / 1.634 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/2.817, allocations: 28.64 kB / 1.634 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001693/2.819, allocations: 0.5984 MB / 1.634 GB, free: 14.17 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002127/2.821, allocations: 1.072 MB / 1.635 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005519/2.821, allocations: 213 kB / 1.636 GB, free: 13.82 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002929/2.824, allocations: 1.633 MB / 1.637 GB, free: 13.67 MB / 1.279 GB Notification: Performance of Backend: time 8.11e-07/2.824, allocations: 0 / 1.637 GB, free: 13.67 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006895/2.831, allocations: 2.483 MB / 1.64 GB, free: 13.18 MB / 1.279 GB Notification: Performance of SimCode: time 0.009066/2.84, allocations: 4.813 MB / 1.644 GB, free: 11.21 MB / 1.279 GB Notification: Performance of Templates: time 0.08892/2.929, allocations: 52.57 MB / 1.696 GB, free: 3.109 MB / 1.295 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