Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004387/0.004387, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001124/0.001124, allocations: 199 kB / 16.68 MB, free: 6.375 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.25 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2318, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8032/1.035, allocations: 312.3 MB / 1.392 GB, free: 5.613 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03049/1.066, allocations: 27.53 MB / 1.419 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003424/1.069, allocations: 77.03 kB / 1.419 GB, free: 3.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/1.073, allocations: 1.589 MB / 1.421 GB, free: 2.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007187/1.08, allocations: 3.024 MB / 1.424 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005707/1.086, allocations: 2.621 MB / 1.426 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005212/1.091, allocations: 4.618 MB / 1.431 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/1.093, allocations: 2.056 MB / 1.433 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/1.098, allocations: 2.391 MB / 1.435 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/1.1, allocations: 1.459 MB / 1.437 GB, free: 7.309 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/1.1, allocations: 247.5 kB / 1.437 GB, free: 7.305 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/1.106, allocations: 3.422 MB / 1.44 GB, free: 5.422 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006014/1.106, allocations: 0.6843 MB / 1.441 GB, free: 4.902 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/1.108, allocations: 1.198 MB / 1.442 GB, free: 4.078 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005659/1.113, allocations: 4.738 MB / 1.447 GB, free: 15.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.113, allocations: 0 / 1.447 GB, free: 15.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.342e-06/1.113, allocations: 0 / 1.447 GB, free: 15.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.928e-05/1.113, allocations: 0 / 1.447 GB, free: 15.83 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003813/1.117, allocations: 2.492 MB / 1.449 GB, free: 13.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.117, allocations: 8.031 kB / 1.449 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/1.117, allocations: 194.2 kB / 1.449 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/1.123, allocations: 0.8911 MB / 1.45 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/1.127, allocations: 2.116 MB / 1.452 GB, free: 9.996 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/1.127, allocations: 106.6 kB / 1.452 GB, free: 9.891 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/1.128, allocations: 139.9 kB / 1.453 GB, free: 9.754 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.131, allocations: 1.666 MB / 1.454 GB, free: 8.023 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/1.131, allocations: 0 / 1.454 GB, free: 8.023 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.131, allocations: 52 kB / 1.454 GB, free: 7.973 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/1.131, allocations: 54.48 kB / 1.454 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004128/1.135, allocations: 1.532 MB / 1.456 GB, free: 6.379 MB / 1.076 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.009853/1.145, allocations: 7.534 MB / 1.463 GB, free: 14.32 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/1.148, allocations: 0.7192 MB / 1.464 GB, free: 13.6 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009244/1.149, allocations: 308.7 kB / 1.464 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/1.149, allocations: 190.2 kB / 1.464 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.15, allocations: 38.56 kB / 1.464 GB, free: 13.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/1.15, allocations: 0 / 1.464 GB, free: 13.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.003671/1.153, allocations: 1.361 MB / 1.466 GB, free: 11.57 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.153, allocations: 55.41 kB / 1.466 GB, free: 11.51 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.156, allocations: 1.856 MB / 1.468 GB, free: 9.609 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/1.156, allocations: 29.7 kB / 1.468 GB, free: 9.574 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/1.157, allocations: 0.8237 MB / 1.468 GB, free: 8.742 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.157, allocations: 130.1 kB / 1.469 GB, free: 8.613 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/1.157, allocations: 150.1 kB / 1.469 GB, free: 8.457 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.157, allocations: 330 kB / 1.469 GB, free: 8.129 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.159, allocations: 423.2 kB / 1.469 GB, free: 7.715 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.16, allocations: 0.6376 MB / 1.47 GB, free: 6.969 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/1.163, allocations: 0.8743 MB / 1.471 GB, free: 6.008 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.163, allocations: 0 / 1.471 GB, free: 6.008 MB / 1.092 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003536/1.166, allocations: 1.393 MB / 1.472 GB, free: 4.562 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.166, allocations: 11.94 kB / 1.472 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.166, allocations: 8 kB / 1.472 GB, free: 4.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/1.166, allocations: 61.69 kB / 1.472 GB, free: 4.477 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.168, allocations: 207.8 kB / 1.472 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/1.17, allocations: 3.137 MB / 1.476 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.172, allocations: 259.2 kB / 1.476 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/1.172, allocations: 43.97 kB / 1.476 GB, free: 0.5625 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00177/1.173, allocations: 0.7551 MB / 1.477 GB, free: 15.8 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/1.175, allocations: 0.6019 MB / 1.477 GB, free: 15.09 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002002/1.177, allocations: 0.8159 MB / 1.478 GB, free: 14.19 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.973e-06/1.177, allocations: 7.938 kB / 1.478 GB, free: 14.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003178/1.18, allocations: 1.319 MB / 1.479 GB, free: 12.81 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.18, allocations: 8 kB / 1.479 GB, free: 12.8 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.18, allocations: 16.22 kB / 1.479 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/1.18, allocations: 57.7 kB / 1.479 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.181, allocations: 195.7 kB / 1.48 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/1.183, allocations: 3.133 MB / 1.483 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.185, allocations: 212 kB / 1.483 GB, free: 8.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/1.185, allocations: 31.98 kB / 1.483 GB, free: 8.879 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002535/1.185, allocations: 220 kB / 1.483 GB, free: 8.656 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.186, allocations: 169.8 kB / 1.483 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/1.188, allocations: 0.9541 MB / 1.484 GB, free: 7.48 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.188, allocations: 4 kB / 1.484 GB, free: 7.477 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.188, allocations: 4.094 kB / 1.484 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.188, allocations: 7.984 kB / 1.484 GB, free: 7.465 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/1.192, allocations: 2.145 MB / 1.486 GB, free: 5.203 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.192, allocations: 4 kB / 1.486 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/1.193, allocations: 99.97 kB / 1.486 GB, free: 5.102 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/1.193, allocations: 53.64 kB / 1.486 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/1.193, allocations: 11.98 kB / 1.486 GB, free: 5.031 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.195, allocations: 3.14 MB / 1.489 GB, free: 1.617 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/1.195, allocations: 8.125 kB / 1.489 GB, free: 1.609 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.197, allocations: 1.022 MB / 1.49 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/1.198, allocations: 330.7 kB / 1.491 GB, free: 172 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.198, allocations: 11.94 kB / 1.491 GB, free: 160 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.199, allocations: 91.91 kB / 1.491 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/1.199, allocations: 27.91 kB / 1.491 GB, free: 40 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/1.199, allocations: 23.97 kB / 1.491 GB, free: 16 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002231/1.202, allocations: 1.313 MB / 1.492 GB, free: 14.68 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.1e-07/1.202, allocations: 0 / 1.492 GB, free: 14.68 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002176/1.204, allocations: 0.7524 MB / 1.493 GB, free: 13.93 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0029/1.207, allocations: 1.78 MB / 1.495 GB, free: 12.06 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004393/1.211, allocations: 1.724 MB / 1.496 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.211, allocations: 4.125 kB / 1.496 GB, free: 10.28 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.212, allocations: 0.513 MB / 1.497 GB, free: 9.742 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/1.216, allocations: 1.031 MB / 1.498 GB, free: 8.727 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.239, allocations: 12.34 MB / 1.51 GB, free: 11.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.24, allocations: 1.344 MB / 1.511 GB, free: 10.54 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001767/1.241, allocations: 375 kB / 1.512 GB, free: 10.16 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.242, allocations: 0.6555 MB / 1.512 GB, free: 9.508 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/1.243, allocations: 7.938 kB / 1.512 GB, free: 9.5 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08443/1.327, allocations: 48.94 MB / 1.56 GB, free: 9.012 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.54, allocations: 0 / 1.56 GB, free: 9.012 MB / 1.186 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches