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.00165/0.00165, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 197 kB / 16.54 MB, free: 6.672 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.336/2.336, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 67.91 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4833, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6959/1.179, allocations: 304.9 MB / 1.315 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02334/1.203, allocations: 27.45 MB / 1.342 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/1.205, allocations: 78.78 kB / 1.342 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006907/1.212, allocations: 4.713 MB / 1.347 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005346/1.217, allocations: 2.923 MB / 1.349 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00466/1.222, allocations: 2.606 MB / 1.352 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007347/1.229, allocations: 7.121 MB / 1.359 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/1.231, allocations: 1.804 MB / 1.361 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/1.234, allocations: 2.225 MB / 1.363 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/1.236, allocations: 1.294 MB / 1.364 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/1.236, allocations: 206.8 kB / 1.364 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/1.24, allocations: 3.194 MB / 1.367 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004837/1.241, allocations: 0.7537 MB / 1.368 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/1.242, allocations: 1.25 MB / 1.369 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004538/1.246, allocations: 4.82 MB / 1.374 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/1.246, allocations: 0 / 1.374 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.246, allocations: 4 kB / 1.374 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.63e-05/1.246, allocations: 0 / 1.374 GB, free: 0.7617 MB / 0.9981 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.003372/1.25, allocations: 2.709 MB / 1.377 GB, free: 14.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/1.25, allocations: 14.67 kB / 1.377 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/1.25, allocations: 170.8 kB / 1.377 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/1.254, allocations: 0.719 MB / 1.378 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008034/1.262, allocations: 5.524 MB / 1.383 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.262, allocations: 145.7 kB / 1.383 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.263, allocations: 113.4 kB / 1.383 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.265, allocations: 1.412 MB / 1.385 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/1.265, allocations: 6.844 kB / 1.385 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.265, allocations: 47.31 kB / 1.385 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/1.265, allocations: 44.98 kB / 1.385 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/1.267, allocations: 0.9797 MB / 1.386 GB, free: 9.609 MB / 1.014 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.007282/1.274, allocations: 7.715 MB / 1.393 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/1.275, allocations: 371.5 kB / 1.394 GB, free: 2.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/1.275, allocations: 119.2 kB / 1.394 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/1.276, allocations: 191 kB / 1.394 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/1.276, allocations: 41.05 kB / 1.394 GB, free: 2.242 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/1.276, allocations: 0 / 1.394 GB, free: 2.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001422/1.277, allocations: 0.5191 MB / 1.394 GB, free: 1.969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.277, allocations: 57.52 kB / 1.395 GB, free: 1.902 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/1.281, allocations: 2.283 MB / 1.397 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/1.281, allocations: 32.64 kB / 1.397 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.282, allocations: 0.9722 MB / 1.398 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/1.282, allocations: 75.47 kB / 1.398 GB, free: 15.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/1.283, allocations: 287.7 kB / 1.398 GB, free: 15.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.283, allocations: 358.9 kB / 1.398 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.284, allocations: 458 kB / 1.399 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.286, allocations: 0.8988 MB / 1.4 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/1.288, allocations: 1.221 MB / 1.401 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.288, allocations: 5 kB / 1.401 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003727/1.292, allocations: 1.518 MB / 1.402 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.292, allocations: 12.69 kB / 1.402 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.292, allocations: 13.16 kB / 1.402 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/1.292, allocations: 21.41 kB / 1.402 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.293, allocations: 251.6 kB / 1.403 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/1.293, allocations: 30.67 kB / 1.403 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/1.296, allocations: 217 kB / 1.403 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.296, allocations: 55.3 kB / 1.403 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001545/1.297, allocations: 0.938 MB / 1.404 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001074/1.298, allocations: 0.8845 MB / 1.405 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001922/1.3, allocations: 1.206 MB / 1.406 GB, free: 9.809 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.328e-05/1.3, allocations: 4 kB / 1.406 GB, free: 9.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003882/1.304, allocations: 1.499 MB / 1.407 GB, free: 8.387 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.304, allocations: 15.94 kB / 1.407 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.304, allocations: 16 kB / 1.407 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/1.304, allocations: 20 kB / 1.407 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/1.305, allocations: 243.8 kB / 1.408 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-05/1.305, allocations: 31.86 kB / 1.408 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.307, allocations: 143.7 kB / 1.408 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.308, allocations: 48 kB / 1.408 GB, free: 7.902 MB / 1.029 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.0003289/1.308, allocations: 247.8 kB / 1.408 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/1.308, allocations: 209.3 kB / 1.408 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/1.309, allocations: 168 kB / 1.408 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.309, allocations: 4 kB / 1.409 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.309, allocations: 2.625 kB / 1.409 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.309, allocations: 0 / 1.409 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/1.314, allocations: 1.874 MB / 1.41 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.314, allocations: 4 kB / 1.41 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/1.314, allocations: 51 kB / 1.41 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.314, allocations: 4 kB / 1.41 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/1.314, allocations: 11.98 kB / 1.41 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/1.314, allocations: 14.56 kB / 1.41 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.314, allocations: 4 kB / 1.41 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.315, allocations: 0.5665 MB / 1.411 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/1.316, allocations: 326.4 kB / 1.411 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/1.316, allocations: 11.98 kB / 1.411 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.318, allocations: 59.95 kB / 1.411 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/1.318, allocations: 33.17 kB / 1.411 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/1.318, allocations: 11.98 kB / 1.411 GB, free: 4.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002441/1.32, allocations: 1.547 MB / 1.413 GB, free: 2.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.32, allocations: 0 / 1.413 GB, free: 2.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001939/1.322, allocations: 0.8192 MB / 1.414 GB, free: 1.793 MB / 1.029 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.001794/1.324, allocations: 1.452 MB / 1.415 GB, free: 292 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002562/1.327, allocations: 1.448 MB / 1.417 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.327, allocations: 0 / 1.417 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/1.327, allocations: 124.7 kB / 1.417 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.331, allocations: 1.068 MB / 1.418 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/1.349, allocations: 15.24 MB / 1.433 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.35, allocations: 1.481 MB / 1.434 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001636/1.352, allocations: 464.9 kB / 1.434 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008058/1.352, allocations: 0.7258 MB / 1.435 GB, free: 10.59 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.352, allocations: 0 / 1.435 GB, free: 10.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9864/2.339, allocations: 51.57 MB / 1.486 GB, free: 7.668 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/12.93, allocations: 3.938 kB / 1.486 GB, free: 7.664 MB / 1.107 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