Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_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.006218/0.006218, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001308/0.001308, allocations: 196.2 kB / 16.68 MB, free: 5.957 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.423/2.423, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 64.31 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8706, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2989/1.17, allocations: 304.9 MB / 1.505 GB, free: 11.59 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03154/1.201, allocations: 27.45 MB / 1.532 GB, free: 56 kB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/1.204, allocations: 83.73 kB / 1.532 GB, free: 15.97 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006336/1.211, allocations: 2.231 MB / 1.534 GB, free: 13.73 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008205/1.219, allocations: 3.061 MB / 1.537 GB, free: 10.66 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007326/1.226, allocations: 2.747 MB / 1.54 GB, free: 7.914 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01138/1.238, allocations: 7.25 MB / 1.547 GB, free: 0.6562 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/1.241, allocations: 1.822 MB / 1.549 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005011/1.246, allocations: 2.281 MB / 1.551 GB, free: 12.5 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/1.249, allocations: 1.346 MB / 1.552 GB, free: 11.15 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006384/1.249, allocations: 215.9 kB / 1.552 GB, free: 10.94 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006168/1.256, allocations: 3.216 MB / 1.555 GB, free: 7.719 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.257, allocations: 0.7556 MB / 1.556 GB, free: 6.961 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/1.259, allocations: 1.26 MB / 1.557 GB, free: 5.695 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.008764/1.268, allocations: 4.924 MB / 1.562 GB, free: 0.7578 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.268, allocations: 3.938 kB / 1.562 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.713e-06/1.268, allocations: 0 / 1.562 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000116/1.268, allocations: 0 / 1.562 GB, free: 0.7539 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.6518/1.92, allocations: 2.726 MB / 1.565 GB, free: 356 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.92, allocations: 9.406 kB / 1.565 GB, free: 356 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000228/1.92, allocations: 164.7 kB / 1.565 GB, free: 355.9 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/1.925, allocations: 0.7212 MB / 1.566 GB, free: 355.8 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.937, allocations: 5.64 MB / 1.571 GB, free: 353.6 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.938, allocations: 89.44 kB / 1.571 GB, free: 353.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.938, allocations: 110.8 kB / 1.571 GB, free: 353.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/1.941, allocations: 1.402 MB / 1.573 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.941, allocations: 6.031 kB / 1.573 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.941, allocations: 52.09 kB / 1.573 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/1.941, allocations: 41.27 kB / 1.573 GB, free: 352.7 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/1.943, allocations: 0.9751 MB / 1.574 GB, free: 352.3 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.009241/1.952, allocations: 7.666 MB / 1.581 GB, free: 346.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/1.953, allocations: 372.3 kB / 1.582 GB, free: 346.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/1.953, allocations: 115.6 kB / 1.582 GB, free: 346.2 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/1.954, allocations: 184.2 kB / 1.582 GB, free: 346 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.954, allocations: 40.84 kB / 1.582 GB, free: 345.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 2.304e-06/1.954, allocations: 0 / 1.582 GB, free: 345.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.001714/1.955, allocations: 0.5241 MB / 1.583 GB, free: 345.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/1.956, allocations: 52.78 kB / 1.583 GB, free: 345.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/1.958, allocations: 2.286 MB / 1.585 GB, free: 344.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/1.958, allocations: 33.67 kB / 1.585 GB, free: 344.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/1.959, allocations: 0.9741 MB / 1.586 GB, free: 343.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/1.959, allocations: 82.86 kB / 1.586 GB, free: 343.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.959, allocations: 276.6 kB / 1.586 GB, free: 343.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/1.959, allocations: 357.6 kB / 1.587 GB, free: 342.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/1.96, allocations: 451 kB / 1.587 GB, free: 342.7 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/1.961, allocations: 0.8939 MB / 1.588 GB, free: 341.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.962, allocations: 1.222 MB / 1.589 GB, free: 340.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.962, allocations: 3.938 kB / 1.589 GB, free: 340.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002239/1.965, allocations: 1.503 MB / 1.59 GB, free: 340.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.965, allocations: 7.938 kB / 1.59 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.965, allocations: 15.75 kB / 1.59 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.965, allocations: 19.78 kB / 1.591 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/1.966, allocations: 253.1 kB / 1.591 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/1.966, allocations: 30.08 kB / 1.591 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.967, allocations: 211.3 kB / 1.591 GB, free: 339.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/1.967, allocations: 54.3 kB / 1.591 GB, free: 339.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/1.968, allocations: 0.931 MB / 1.592 GB, free: 339.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007943/1.969, allocations: 0.8956 MB / 1.593 GB, free: 338.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001142/1.97, allocations: 1.197 MB / 1.594 GB, free: 336.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.391e-06/1.97, allocations: 4 kB / 1.594 GB, free: 336.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.001937/1.972, allocations: 1.482 MB / 1.595 GB, free: 335.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.972, allocations: 10.19 kB / 1.595 GB, free: 335.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.972, allocations: 16 kB / 1.595 GB, free: 335.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.972, allocations: 20 kB / 1.595 GB, free: 335.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/1.973, allocations: 247.2 kB / 1.596 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.973, allocations: 27.92 kB / 1.596 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.974, allocations: 143.2 kB / 1.596 GB, free: 334.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/1.974, allocations: 55.98 kB / 1.596 GB, free: 334.7 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.0001827/1.974, allocations: 247.8 kB / 1.596 GB, free: 334.4 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/1.975, allocations: 197.5 kB / 1.596 GB, free: 334.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/1.975, allocations: 164 kB / 1.597 GB, free: 334.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.975, allocations: 4 kB / 1.597 GB, free: 334.1 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.975, allocations: 3.938 kB / 1.597 GB, free: 334.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.975, allocations: 0 / 1.597 GB, free: 334.1 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/1.977, allocations: 1.866 MB / 1.598 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.977, allocations: 8.125 kB / 1.598 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/1.978, allocations: 43.97 kB / 1.598 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.978, allocations: 15.88 kB / 1.598 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/1.978, allocations: 11.98 kB / 1.598 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.978, allocations: 11.94 kB / 1.598 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.978, allocations: 4 kB / 1.598 GB, free: 332 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/1.979, allocations: 0.5708 MB / 1.599 GB, free: 331.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/1.979, allocations: 326.4 kB / 1.599 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.979, allocations: 8 kB / 1.599 GB, free: 331 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/1.98, allocations: 51.89 kB / 1.599 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/1.98, allocations: 23.92 kB / 1.599 GB, free: 330.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.98, allocations: 15.92 kB / 1.599 GB, free: 330.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001653/1.982, allocations: 1.547 MB / 1.601 GB, free: 329.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.21e-07/1.982, allocations: 0 / 1.601 GB, free: 329.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001822/1.983, allocations: 0.8153 MB / 1.602 GB, free: 328.6 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.001575/1.985, allocations: 1.441 MB / 1.603 GB, free: 327.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.987, allocations: 1.446 MB / 1.605 GB, free: 325.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/1.987, allocations: 0 / 1.605 GB, free: 325.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/1.988, allocations: 129.6 kB / 1.605 GB, free: 325.5 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.991, allocations: 1.077 MB / 1.606 GB, free: 324.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/2.011, allocations: 13.69 MB / 1.619 GB, free: 310.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/2.012, allocations: 1.481 MB / 1.621 GB, free: 308.6 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001623/2.014, allocations: 464.9 kB / 1.621 GB, free: 308.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007899/2.015, allocations: 0.7296 MB / 1.622 GB, free: 307.5 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/2.015, allocations: 0 / 1.622 GB, free: 307.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07649/2.091, allocations: 52.6 MB / 1.673 GB, free: 255.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/13.09, allocations: 20.05 kB / 1.673 GB, free: 255.4 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches