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.01418/0.01418, allocations: 102 kB / 15.73 MB, free: 6.039 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.002525/0.002525, allocations: 194 kB / 16.67 MB, free: 5.961 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.526/2.526, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.12 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.189, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3538/1.543, allocations: 312.7 MB / 1.513 GB, free: 3.973 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04123/1.584, allocations: 29.36 MB / 1.542 GB, free: 6.523 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/1.589, allocations: 87.56 kB / 1.542 GB, free: 6.438 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.008825/1.598, allocations: 2.399 MB / 1.544 GB, free: 4.027 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/1.609, allocations: 3.173 MB / 1.547 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.008334/1.617, allocations: 2.752 MB / 1.55 GB, free: 14.09 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01339/1.63, allocations: 7.543 MB / 1.557 GB, free: 6.531 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/1.636, allocations: 2.088 MB / 1.559 GB, free: 4.398 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/1.643, allocations: 2.422 MB / 1.562 GB, free: 1.969 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/1.648, allocations: 1.53 MB / 1.563 GB, free: 452 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.649, allocations: 260 kB / 1.563 GB, free: 192 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176/2.825, allocations: 3.595 MB / 1.567 GB, free: 37.26 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002142/2.827, allocations: 0.8279 MB / 1.568 GB, free: 37.26 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003444/2.831, allocations: 1.389 MB / 1.569 GB, free: 37.26 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01718/2.848, allocations: 5.43 MB / 1.574 GB, free: 37.15 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/2.848, allocations: 0.75 kB / 1.574 GB, free: 37.15 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.557e-06/2.848, allocations: 1.219 kB / 1.574 GB, free: 37.15 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001489/2.848, allocations: 0 / 1.574 GB, free: 37.15 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.009847/2.858, allocations: 2.93 MB / 1.577 GB, free: 35.76 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/2.858, allocations: 11.59 kB / 1.577 GB, free: 35.76 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006244/2.864, allocations: 0.9404 MB / 1.578 GB, free: 35.63 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/2.876, allocations: 5.733 MB / 1.584 GB, free: 35.08 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/2.876, allocations: 107.5 kB / 1.584 GB, free: 35.08 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/2.877, allocations: 133.2 kB / 1.584 GB, free: 35.08 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/2.882, allocations: 1.591 MB / 1.586 GB, free: 34.89 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/2.882, allocations: 1.875 kB / 1.586 GB, free: 34.89 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/2.882, allocations: 53.16 kB / 1.586 GB, free: 34.89 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-05/2.882, allocations: 51.31 kB / 1.586 GB, free: 34.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/2.886, allocations: 1.328 MB / 1.587 GB, free: 34.87 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.01202/2.898, allocations: 7.598 MB / 1.594 GB, free: 31.17 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/2.9, allocations: 0.6732 MB / 1.595 GB, free: 31.05 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/2.9, allocations: 253.9 kB / 1.595 GB, free: 31.05 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/2.901, allocations: 190.6 kB / 1.596 GB, free: 30.86 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/2.901, allocations: 40.11 kB / 1.596 GB, free: 30.82 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/2.901, allocations: 0 / 1.596 GB, free: 30.82 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003044/2.904, allocations: 1.038 MB / 1.597 GB, free: 30.48 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/2.904, allocations: 59.25 kB / 1.597 GB, free: 30.42 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/2.908, allocations: 2.366 MB / 1.599 GB, free: 30.17 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/2.908, allocations: 37.98 kB / 1.599 GB, free: 30.14 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007956/2.909, allocations: 0.9578 MB / 1.6 GB, free: 29.88 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/2.909, allocations: 132.4 kB / 1.6 GB, free: 29.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/2.909, allocations: 253.5 kB / 1.6 GB, free: 29.77 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001012/2.91, allocations: 351.5 kB / 1.601 GB, free: 29.47 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/2.911, allocations: 0.5131 MB / 1.601 GB, free: 29.46 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/2.912, allocations: 0.7903 MB / 1.602 GB, free: 29.15 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/2.914, allocations: 1.119 MB / 1.603 GB, free: 28.89 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/2.914, allocations: 4.344 kB / 1.603 GB, free: 28.89 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003819/2.918, allocations: 1.634 MB / 1.605 GB, free: 28.62 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/2.918, allocations: 6.312 kB / 1.605 GB, free: 28.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/2.918, allocations: 8.375 kB / 1.605 GB, free: 28.62 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/2.918, allocations: 35.98 kB / 1.605 GB, free: 28.61 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/2.92, allocations: 241.4 kB / 1.605 GB, free: 28.61 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/2.921, allocations: 1.571 MB / 1.606 GB, free: 27.13 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/2.923, allocations: 233.5 kB / 1.607 GB, free: 27.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/2.924, allocations: 42.53 kB / 1.607 GB, free: 27.05 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002851/2.926, allocations: 1.014 MB / 1.608 GB, free: 26.96 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001468/2.928, allocations: 0.7814 MB / 1.608 GB, free: 26.66 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002109/2.93, allocations: 1.105 MB / 1.609 GB, free: 26.38 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.219e-05/2.93, allocations: 0 / 1.609 GB, free: 26.38 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003558/2.934, allocations: 1.601 MB / 1.611 GB, free: 26.12 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/2.934, allocations: 13.06 kB / 1.611 GB, free: 26.12 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/2.934, allocations: 9.531 kB / 1.611 GB, free: 26.12 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/2.934, allocations: 41.81 kB / 1.611 GB, free: 26.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/2.935, allocations: 233.1 kB / 1.611 GB, free: 26.11 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/2.936, allocations: 1.571 MB / 1.613 GB, free: 24.62 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/2.938, allocations: 168.1 kB / 1.613 GB, free: 24.59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/2.938, allocations: 39 kB / 1.613 GB, free: 24.59 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.0003163/2.939, allocations: 230.6 kB / 1.613 GB, free: 24.41 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005167/2.939, allocations: 202.4 kB / 1.613 GB, free: 24.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/2.941, allocations: 0.7676 MB / 1.614 GB, free: 24.12 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/2.941, allocations: 2.469 kB / 1.614 GB, free: 24.12 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/2.941, allocations: 13.72 kB / 1.614 GB, free: 24.11 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.941, allocations: 1.969 kB / 1.614 GB, free: 24.11 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005434/2.947, allocations: 2.162 MB / 1.616 GB, free: 23.61 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/2.947, allocations: 3.844 kB / 1.616 GB, free: 23.61 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/2.947, allocations: 100.9 kB / 1.616 GB, free: 23.61 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.454e-05/2.947, allocations: 27.02 kB / 1.616 GB, free: 23.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/2.948, allocations: 9.422 kB / 1.616 GB, free: 23.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008514/2.948, allocations: 1.558 MB / 1.618 GB, free: 22.11 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.948, allocations: 4.641 kB / 1.618 GB, free: 22.11 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/2.95, allocations: 0.8824 MB / 1.619 GB, free: 21.69 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/2.951, allocations: 363.7 kB / 1.619 GB, free: 21.47 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/2.952, allocations: 12.84 kB / 1.619 GB, free: 21.47 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/2.953, allocations: 65.56 kB / 1.619 GB, free: 21.46 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/2.954, allocations: 22.16 kB / 1.619 GB, free: 21.46 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/2.954, allocations: 20.94 kB / 1.619 GB, free: 21.46 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003633/2.957, allocations: 1.636 MB / 1.621 GB, free: 21.32 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.4e-07/2.957, allocations: 2.156 kB / 1.621 GB, free: 21.32 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004491/2.962, allocations: 0.8959 MB / 1.622 GB, free: 21.22 MB / 1.279 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.001559/2.963, allocations: 451.7 kB / 1.622 GB, free: 21.08 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004329/2.968, allocations: 1.822 MB / 1.624 GB, free: 20.82 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.968, allocations: 1.641 kB / 1.624 GB, free: 20.82 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00073/2.968, allocations: 349.8 kB / 1.624 GB, free: 20.71 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006699/2.975, allocations: 1.251 MB / 1.626 GB, free: 20.48 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/2.983, allocations: 3.255 MB / 1.629 GB, free: 19.21 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/2.985, allocations: 1.539 MB / 1.63 GB, free: 18.46 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002855/2.988, allocations: 473.8 kB / 1.631 GB, free: 18.32 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/2.989, allocations: 133.7 kB / 1.631 GB, free: 18.32 MB / 1.279 GB Notification: Performance of SimCode: time 1.172e-06/2.989, allocations: 0 / 1.631 GB, free: 18.32 MB / 1.279 GB Notification: Performance of Templates: time 0.07148/3.06, allocations: 40.36 MB / 1.67 GB, free: 8.648 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/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