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.007701/0.007701, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002042/0.002042, allocations: 194.6 kB / 16.67 MB, free: 5.52 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.164/2.164, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8247, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.2851/1.11, allocations: 312.3 MB / 1.392 GB, free: 5.031 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02896/1.139, allocations: 27.54 MB / 1.419 GB, free: 9.406 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/1.141, allocations: 79.62 kB / 1.419 GB, free: 9.328 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004261/1.146, allocations: 1.581 MB / 1.421 GB, free: 7.738 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007144/1.153, allocations: 3.022 MB / 1.424 GB, free: 4.707 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/1.159, allocations: 2.619 MB / 1.426 GB, free: 2.09 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005765/1.165, allocations: 4.624 MB / 1.431 GB, free: 13.45 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.167, allocations: 2.041 MB / 1.433 GB, free: 11.37 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/1.171, allocations: 2.398 MB / 1.435 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/1.174, allocations: 1.462 MB / 1.437 GB, free: 7.5 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/1.174, allocations: 244 kB / 1.437 GB, free: 7.262 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005503/1.18, allocations: 3.418 MB / 1.44 GB, free: 3.836 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006404/1.18, allocations: 0.6856 MB / 1.441 GB, free: 3.148 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.181, allocations: 1.198 MB / 1.442 GB, free: 1.945 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/1.187, allocations: 4.737 MB / 1.447 GB, free: 13.2 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.187, allocations: 4 kB / 1.447 GB, free: 13.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/1.187, allocations: 0 / 1.447 GB, free: 13.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.998e-05/1.187, allocations: 0 / 1.447 GB, free: 13.19 MB / 1.186 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.003492/1.191, allocations: 2.492 MB / 1.449 GB, free: 10.63 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.191, allocations: 12.03 kB / 1.449 GB, free: 10.62 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/1.191, allocations: 194.2 kB / 1.449 GB, free: 10.42 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/1.196, allocations: 0.8872 MB / 1.45 GB, free: 9.531 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/1.199, allocations: 2.12 MB / 1.452 GB, free: 7.355 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/1.2, allocations: 102.6 kB / 1.452 GB, free: 7.254 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.2, allocations: 132 kB / 1.453 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/1.203, allocations: 1.67 MB / 1.454 GB, free: 5.391 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.203, allocations: 11.92 kB / 1.454 GB, free: 5.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/1.203, allocations: 52 kB / 1.454 GB, free: 5.328 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/1.203, allocations: 50.48 kB / 1.454 GB, free: 5.277 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/1.207, allocations: 1.528 MB / 1.456 GB, free: 3.742 MB / 1.186 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.008922/1.216, allocations: 7.545 MB / 1.463 GB, free: 11.68 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/1.218, allocations: 0.7074 MB / 1.464 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008371/1.219, allocations: 308.7 kB / 1.464 GB, free: 10.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/1.22, allocations: 194.2 kB / 1.464 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/1.22, allocations: 34.56 kB / 1.464 GB, free: 10.39 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/1.22, allocations: 4 kB / 1.464 GB, free: 10.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003459/1.223, allocations: 1.361 MB / 1.466 GB, free: 8.934 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.223, allocations: 55.41 kB / 1.466 GB, free: 8.867 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/1.226, allocations: 1.848 MB / 1.468 GB, free: 6.977 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/1.226, allocations: 37.7 kB / 1.468 GB, free: 6.934 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/1.226, allocations: 0.8232 MB / 1.468 GB, free: 6.102 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.227, allocations: 130.1 kB / 1.468 GB, free: 5.973 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.227, allocations: 146.2 kB / 1.469 GB, free: 5.824 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.227, allocations: 337.9 kB / 1.469 GB, free: 5.488 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.228, allocations: 423.2 kB / 1.469 GB, free: 5.07 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/1.23, allocations: 0.637 MB / 1.47 GB, free: 4.328 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.232, allocations: 0.8704 MB / 1.471 GB, free: 3.371 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/1.232, allocations: 8 kB / 1.471 GB, free: 3.363 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003446/1.235, allocations: 1.389 MB / 1.472 GB, free: 1.922 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.236, allocations: 11.94 kB / 1.472 GB, free: 1.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.236, allocations: 11.92 kB / 1.472 GB, free: 1.898 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/1.236, allocations: 57.69 kB / 1.472 GB, free: 1.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.237, allocations: 215.9 kB / 1.472 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/1.239, allocations: 3.129 MB / 1.476 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.241, allocations: 259.2 kB / 1.476 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/1.241, allocations: 35.97 kB / 1.476 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001705/1.243, allocations: 0.7628 MB / 1.477 GB, free: 13.16 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00125/1.244, allocations: 0.6107 MB / 1.477 GB, free: 12.44 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00179/1.246, allocations: 0.8122 MB / 1.478 GB, free: 11.54 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/1.246, allocations: 0 / 1.478 GB, free: 11.54 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.002947/1.249, allocations: 1.323 MB / 1.479 GB, free: 10.17 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.249, allocations: 10.22 kB / 1.479 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.249, allocations: 12 kB / 1.479 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/1.249, allocations: 53.7 kB / 1.479 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009968/1.25, allocations: 195.7 kB / 1.479 GB, free: 9.898 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.252, allocations: 3.152 MB / 1.483 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.253, allocations: 200.1 kB / 1.483 GB, free: 6.273 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/1.253, allocations: 31.98 kB / 1.483 GB, free: 6.242 MB / 1.217 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.0002202/1.254, allocations: 216.1 kB / 1.483 GB, free: 6.023 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.254, allocations: 173.8 kB / 1.483 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.256, allocations: 0.956 MB / 1.484 GB, free: 4.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.256, allocations: 7.938 kB / 1.484 GB, free: 4.832 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.256, allocations: 4 kB / 1.484 GB, free: 4.828 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.256, allocations: 4 kB / 1.484 GB, free: 4.824 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/1.259, allocations: 2.141 MB / 1.486 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.259, allocations: 0 / 1.486 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/1.26, allocations: 107.9 kB / 1.486 GB, free: 2.457 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/1.26, allocations: 49.7 kB / 1.486 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/1.26, allocations: 15.92 kB / 1.486 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.262, allocations: 3.136 MB / 1.489 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.262, allocations: 3.938 kB / 1.489 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/1.264, allocations: 1.022 MB / 1.49 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/1.264, allocations: 330.7 kB / 1.491 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/1.265, allocations: 4 kB / 1.491 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.266, allocations: 91.91 kB / 1.491 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/1.266, allocations: 23.97 kB / 1.491 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/1.266, allocations: 27.97 kB / 1.491 GB, free: 13.38 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002053/1.268, allocations: 1.313 MB / 1.492 GB, free: 12.04 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.723e-06/1.268, allocations: 0 / 1.492 GB, free: 12.04 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002037/1.27, allocations: 0.7602 MB / 1.493 GB, free: 11.28 MB / 1.232 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.002709/1.273, allocations: 1.788 MB / 1.495 GB, free: 9.406 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004028/1.277, allocations: 1.724 MB / 1.496 GB, free: 7.633 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.277, allocations: 4 kB / 1.496 GB, free: 7.629 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009722/1.278, allocations: 0.5094 MB / 1.497 GB, free: 7.094 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/1.282, allocations: 1.031 MB / 1.498 GB, free: 6.074 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.302, allocations: 12.35 MB / 1.51 GB, free: 9.246 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.304, allocations: 1.34 MB / 1.511 GB, free: 7.879 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001537/1.305, allocations: 367.1 kB / 1.512 GB, free: 7.516 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/1.306, allocations: 0.6594 MB / 1.512 GB, free: 6.855 MB / 1.248 GB Notification: Performance of SimCode: time 8.31e-07/1.306, allocations: 4 kB / 1.512 GB, free: 6.852 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.644/4.95, allocations: 48.92 MB / 1.56 GB, free: 6.488 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/21.12, allocations: 12 kB / 1.56 GB, free: 6.477 MB / 1.295 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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