Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.00801/0.00801, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.00194/0.00194, allocations: 196.6 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.84 kB / 1.018 GB, free: 9.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9354, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3349/1.27, allocations: 304.9 MB / 1.464 GB, free: 1.828 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04144/1.312, allocations: 27.45 MB / 1.491 GB, free: 6.297 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/1.316, allocations: 83.62 kB / 1.491 GB, free: 6.215 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007525/1.324, allocations: 2.265 MB / 1.493 GB, free: 3.941 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.334, allocations: 3.176 MB / 1.496 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/1.342, allocations: 2.781 MB / 1.499 GB, free: 13.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01162/1.353, allocations: 7.267 MB / 1.506 GB, free: 6.695 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/1.357, allocations: 1.818 MB / 1.508 GB, free: 4.836 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005446/1.362, allocations: 2.312 MB / 1.51 GB, free: 2.516 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003221/1.366, allocations: 1.352 MB / 1.511 GB, free: 1.164 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0007465/1.366, allocations: 216 kB / 1.511 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007925/1.374, allocations: 3.227 MB / 1.515 GB, free: 13.72 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/1.376, allocations: 0.7595 MB / 1.515 GB, free: 12.96 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/1.378, allocations: 1.256 MB / 1.517 GB, free: 11.7 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009277/1.388, allocations: 4.924 MB / 1.521 GB, free: 6.758 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.388, allocations: 4 kB / 1.521 GB, free: 6.754 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.813e-06/1.388, allocations: 3.938 kB / 1.521 GB, free: 6.75 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001186/1.388, allocations: 0 / 1.521 GB, free: 6.75 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.006343/1.394, allocations: 2.731 MB / 1.524 GB, free: 3.945 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.394, allocations: 12.92 kB / 1.524 GB, free: 3.934 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003666/1.395, allocations: 164.9 kB / 1.524 GB, free: 3.762 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/1.399, allocations: 0.7153 MB / 1.525 GB, free: 3.043 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009782/1.409, allocations: 5.648 MB / 1.53 GB, free: 13.34 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.409, allocations: 86.19 kB / 1.53 GB, free: 13.25 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/1.409, allocations: 108 kB / 1.531 GB, free: 13.15 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/1.412, allocations: 1.398 MB / 1.532 GB, free: 11.61 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.412, allocations: 11.94 kB / 1.532 GB, free: 11.6 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.412, allocations: 48 kB / 1.532 GB, free: 11.55 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.412, allocations: 42 kB / 1.532 GB, free: 11.51 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/1.414, allocations: 0.9822 MB / 1.533 GB, free: 10.53 MB / 1.264 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.008943/1.423, allocations: 7.645 MB / 1.54 GB, free: 2.473 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000887/1.424, allocations: 379.7 kB / 1.541 GB, free: 2.074 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/1.425, allocations: 116.8 kB / 1.541 GB, free: 1.957 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/1.425, allocations: 190.1 kB / 1.541 GB, free: 1.734 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.425, allocations: 38.56 kB / 1.541 GB, free: 1.688 MB / 1.264 GB Notification: Performance of pre-optimization done (n=18): time 2.314e-06/1.425, allocations: 0 / 1.541 GB, free: 1.688 MB / 1.264 GB Notification: Performance of matching and sorting (n=18): time 0.001558/1.426, allocations: 0.5247 MB / 1.542 GB, free: 1.156 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.426, allocations: 51.41 kB / 1.542 GB, free: 1.094 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/1.43, allocations: 2.28 MB / 1.544 GB, free: 14.79 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/1.43, allocations: 33.7 kB / 1.544 GB, free: 14.75 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/1.431, allocations: 0.9862 MB / 1.545 GB, free: 13.75 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/1.431, allocations: 75.09 kB / 1.545 GB, free: 13.68 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/1.431, allocations: 282.2 kB / 1.545 GB, free: 13.39 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.431, allocations: 353.9 kB / 1.546 GB, free: 13.04 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008583/1.432, allocations: 448.9 kB / 1.546 GB, free: 12.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/1.433, allocations: 0.8958 MB / 1.547 GB, free: 11.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.435, allocations: 1.21 MB / 1.548 GB, free: 10.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/1.435, allocations: 4 kB / 1.548 GB, free: 10.09 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00278/1.438, allocations: 1.513 MB / 1.55 GB, free: 8.574 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.438, allocations: 12 kB / 1.55 GB, free: 8.562 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/1.438, allocations: 16.12 kB / 1.55 GB, free: 8.547 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/1.438, allocations: 23.98 kB / 1.55 GB, free: 8.523 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/1.439, allocations: 239.6 kB / 1.55 GB, free: 8.289 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/1.439, allocations: 35.8 kB / 1.55 GB, free: 8.254 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.44, allocations: 210.8 kB / 1.55 GB, free: 8.047 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/1.44, allocations: 63.98 kB / 1.55 GB, free: 7.984 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001551/1.442, allocations: 0.9278 MB / 1.551 GB, free: 7.051 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/1.443, allocations: 0.8841 MB / 1.552 GB, free: 5.957 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001522/1.444, allocations: 1.203 MB / 1.553 GB, free: 4.559 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/1.444, allocations: 4 kB / 1.553 GB, free: 4.555 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002581/1.447, allocations: 1.481 MB / 1.555 GB, free: 3.066 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.447, allocations: 8.969 kB / 1.555 GB, free: 3.059 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.447, allocations: 16 kB / 1.555 GB, free: 3.043 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.447, allocations: 24 kB / 1.555 GB, free: 3.02 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/1.448, allocations: 239.6 kB / 1.555 GB, free: 2.785 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/1.448, allocations: 31.86 kB / 1.555 GB, free: 2.754 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.449, allocations: 135.2 kB / 1.555 GB, free: 2.621 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/1.449, allocations: 52 kB / 1.555 GB, free: 2.57 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002548/1.45, allocations: 245.9 kB / 1.555 GB, free: 2.324 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.45, allocations: 201.4 kB / 1.555 GB, free: 2.125 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/1.45, allocations: 164 kB / 1.556 GB, free: 1.961 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.45, allocations: 4 kB / 1.556 GB, free: 1.957 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.45, allocations: 3.938 kB / 1.556 GB, free: 1.953 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.45, allocations: 3.984 kB / 1.556 GB, free: 1.949 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7396/2.19, allocations: 1.863 MB / 1.557 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/2.19, allocations: 5.562 kB / 1.557 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/2.19, allocations: 55.16 kB / 1.558 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/2.19, allocations: 5.531 kB / 1.558 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/2.19, allocations: 10.52 kB / 1.558 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/2.19, allocations: 11.03 kB / 1.558 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/2.19, allocations: 6.375 kB / 1.558 GB, free: 388.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/2.192, allocations: 0.5717 MB / 1.558 GB, free: 388.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/2.193, allocations: 320 kB / 1.558 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/2.193, allocations: 12.05 kB / 1.558 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/2.194, allocations: 51.22 kB / 1.558 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/2.194, allocations: 27.8 kB / 1.559 GB, free: 388.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/2.194, allocations: 12.2 kB / 1.559 GB, free: 388.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003757/2.198, allocations: 1.55 MB / 1.56 GB, free: 387.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.62e-07/2.198, allocations: 0 / 1.56 GB, free: 387.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003292/2.201, allocations: 0.8148 MB / 1.561 GB, free: 387.8 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00204/2.203, allocations: 1.455 MB / 1.562 GB, free: 386.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002565/2.206, allocations: 1.443 MB / 1.564 GB, free: 386.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/2.206, allocations: 0 / 1.564 GB, free: 386.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0003308/2.206, allocations: 127.1 kB / 1.564 GB, free: 386.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/2.21, allocations: 1.082 MB / 1.565 GB, free: 386.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/2.228, allocations: 13.69 MB / 1.578 GB, free: 377 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/2.229, allocations: 1.482 MB / 1.58 GB, free: 375.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001872/2.231, allocations: 466.7 kB / 1.58 GB, free: 375.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/2.232, allocations: 0.7246 MB / 1.581 GB, free: 374.9 MB / 1.279 GB Notification: Performance of SimCode: time 7.81e-07/2.232, allocations: 0 / 1.581 GB, free: 374.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/2.303, allocations: 51.83 MB / 1.631 GB, free: 323.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/13.44, allocations: 14.41 kB / 1.631 GB, free: 323.8 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches