Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001557/0.001557, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.001373/0.001373, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.612/1.612, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.966/2.966, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 64.11 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.446/1.575, allocations: 312.7 MB / 1.473 GB, free: 9.941 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04532/1.62, allocations: 29.35 MB / 1.501 GB, free: 12.5 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/1.625, allocations: 83.56 kB / 1.501 GB, free: 12.42 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00856/1.633, allocations: 2.431 MB / 1.504 GB, free: 9.977 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.645, allocations: 3.307 MB / 1.507 GB, free: 6.656 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.008862/1.654, allocations: 2.782 MB / 1.51 GB, free: 3.879 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01463/1.669, allocations: 7.559 MB / 1.517 GB, free: 12.3 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003946/1.673, allocations: 2.099 MB / 1.519 GB, free: 10.16 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006726/1.68, allocations: 2.437 MB / 1.522 GB, free: 7.715 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/1.684, allocations: 1.539 MB / 1.523 GB, free: 6.176 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005559/1.685, allocations: 252 kB / 1.523 GB, free: 5.93 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008689/1.693, allocations: 3.621 MB / 1.527 GB, free: 2.301 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/1.695, allocations: 0.8257 MB / 1.528 GB, free: 1.473 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/1.697, allocations: 1.388 MB / 1.529 GB, free: 80 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.708, allocations: 5.451 MB / 1.534 GB, free: 10.61 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/1.709, allocations: 0 / 1.534 GB, free: 10.61 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.185e-06/1.709, allocations: 3.938 kB / 1.534 GB, free: 10.61 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.708e-05/1.709, allocations: 4 kB / 1.534 GB, free: 10.6 MB / 1.264 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.006778/1.715, allocations: 3.017 MB / 1.537 GB, free: 7.508 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.715, allocations: 12.92 kB / 1.537 GB, free: 7.496 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/1.721, allocations: 0.9466 MB / 1.538 GB, free: 6.547 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.733, allocations: 5.763 MB / 1.544 GB, free: 0.7305 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/1.733, allocations: 102.6 kB / 1.544 GB, free: 0.6289 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/1.734, allocations: 132 kB / 1.544 GB, free: 0.5 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/1.737, allocations: 1.59 MB / 1.546 GB, free: 14.84 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/1.738, allocations: 3.938 kB / 1.546 GB, free: 14.84 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.738, allocations: 56 kB / 1.546 GB, free: 14.78 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/1.738, allocations: 54.48 kB / 1.546 GB, free: 14.73 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/1.741, allocations: 1.325 MB / 1.547 GB, free: 13.4 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.01264/1.754, allocations: 7.627 MB / 1.554 GB, free: 5.242 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/1.756, allocations: 0.6713 MB / 1.555 GB, free: 4.547 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/1.757, allocations: 265.3 kB / 1.555 GB, free: 4.285 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/1.757, allocations: 182.8 kB / 1.556 GB, free: 4.07 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/1.757, allocations: 35.03 kB / 1.556 GB, free: 4.027 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/1.757, allocations: 0 / 1.556 GB, free: 4.027 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003216/1.76, allocations: 1.063 MB / 1.557 GB, free: 2.918 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.76, allocations: 55.34 kB / 1.557 GB, free: 2.852 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.765, allocations: 2.365 MB / 1.559 GB, free: 480 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.765, allocations: 33.7 kB / 1.559 GB, free: 440 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.9968/2.761, allocations: 0.968 MB / 1.56 GB, free: 390.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/2.762, allocations: 135.6 kB / 1.56 GB, free: 390.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000768/2.763, allocations: 259.7 kB / 1.56 GB, free: 390.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001514/2.763, allocations: 350.4 kB / 1.561 GB, free: 390.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/2.765, allocations: 0.5149 MB / 1.561 GB, free: 389.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/2.766, allocations: 0.7868 MB / 1.562 GB, free: 389.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/2.769, allocations: 1.125 MB / 1.563 GB, free: 388.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/2.769, allocations: 4.375 kB / 1.563 GB, free: 388.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004444/2.774, allocations: 1.639 MB / 1.565 GB, free: 388.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/2.774, allocations: 10.78 kB / 1.565 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/2.774, allocations: 8.422 kB / 1.565 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/2.774, allocations: 38.92 kB / 1.565 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/2.775, allocations: 240.9 kB / 1.565 GB, free: 388.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/2.776, allocations: 1.574 MB / 1.566 GB, free: 386.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/2.778, allocations: 246.2 kB / 1.567 GB, free: 386.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-05/2.778, allocations: 47.8 kB / 1.567 GB, free: 386.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002316/2.781, allocations: 1.013 MB / 1.568 GB, free: 386 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/2.782, allocations: 0.7749 MB / 1.569 GB, free: 385.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001813/2.784, allocations: 1.099 MB / 1.57 GB, free: 384.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/2.784, allocations: 3.969 kB / 1.57 GB, free: 384.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003394/2.787, allocations: 1.617 MB / 1.571 GB, free: 384.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/2.787, allocations: 7.562 kB / 1.571 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/2.787, allocations: 7.844 kB / 1.571 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001178/2.787, allocations: 41.67 kB / 1.571 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/2.789, allocations: 234.4 kB / 1.571 GB, free: 384.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/2.789, allocations: 1.567 MB / 1.573 GB, free: 382.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/2.791, allocations: 162.7 kB / 1.573 GB, free: 382.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/2.792, allocations: 42.53 kB / 1.573 GB, free: 382.5 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.0003437/2.792, allocations: 230.9 kB / 1.573 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/2.792, allocations: 221.5 kB / 1.574 GB, free: 382.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/2.794, allocations: 0.763 MB / 1.574 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/2.794, allocations: 8.328 kB / 1.574 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/2.794, allocations: 0 / 1.574 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/2.794, allocations: 5.953 kB / 1.574 GB, free: 381.8 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/2.798, allocations: 2.159 MB / 1.576 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/2.798, allocations: 2.594 kB / 1.576 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/2.799, allocations: 96.08 kB / 1.577 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-05/2.799, allocations: 27.55 kB / 1.577 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/2.799, allocations: 15.45 kB / 1.577 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008865/2.8, allocations: 1.566 MB / 1.578 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/2.8, allocations: 3.094 kB / 1.578 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/2.802, allocations: 0.8921 MB / 1.579 GB, free: 378.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/2.802, allocations: 363.7 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/2.802, allocations: 8.406 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/2.803, allocations: 69.64 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/2.804, allocations: 29.03 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/2.804, allocations: 14.83 kB / 1.579 GB, free: 378.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002614/2.806, allocations: 1.643 MB / 1.581 GB, free: 377.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/2.806, allocations: 0 / 1.581 GB, free: 377.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002245/2.808, allocations: 0.8969 MB / 1.582 GB, free: 376.9 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.0009172/2.809, allocations: 460 kB / 1.582 GB, free: 376.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003783/2.813, allocations: 1.816 MB / 1.584 GB, free: 375 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.813, allocations: 0 / 1.584 GB, free: 375 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006343/2.814, allocations: 352.5 kB / 1.584 GB, free: 374.7 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/2.819, allocations: 1.248 MB / 1.586 GB, free: 373.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/2.824, allocations: 3.327 MB / 1.589 GB, free: 370.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/2.825, allocations: 1.533 MB / 1.59 GB, free: 369.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002063/2.827, allocations: 470.2 kB / 1.591 GB, free: 368.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/2.828, allocations: 135.4 kB / 1.591 GB, free: 368.5 MB / 1.279 GB Notification: Performance of SimCode: time 1.613e-06/2.828, allocations: 0 / 1.591 GB, free: 368.5 MB / 1.279 GB Notification: Performance of Templates: time 0.05893/2.887, allocations: 39.9 MB / 1.63 GB, free: 329.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches