Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.0008474/0.0008475, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006592/0.006592, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 12.47 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9702/1.309, allocations: 209.2 MB / 1.263 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01041/1.32, allocations: 7.059 MB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.322, allocations: 39.62 kB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/1.324, allocations: 0.6501 MB / 1.271 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007493/1.331, allocations: 2.371 MB / 1.273 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/1.335, allocations: 1.055 MB / 1.274 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007159/1.342, allocations: 3.749 MB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/1.345, allocations: 0.895 MB / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005205/1.35, allocations: 1.761 MB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/1.353, allocations: 0.9151 MB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/1.353, allocations: 46.41 kB / 1.281 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007464/1.361, allocations: 2.801 MB / 1.284 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008443/1.362, allocations: 345.6 kB / 1.284 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/1.363, allocations: 0.6242 MB / 1.285 GB, free: 18.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006155/1.369, allocations: 2.524 MB / 1.287 GB, free: 18.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.37, allocations: 0 / 1.287 GB, free: 18.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.108e-06/1.37, allocations: 0 / 1.287 GB, free: 18.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.637e-05/1.37, allocations: 2.906 kB / 1.287 GB, free: 18.25 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005195/1.375, allocations: 1.598 MB / 1.289 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/1.375, allocations: 14.06 kB / 1.289 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003245/1.375, allocations: 133.4 kB / 1.289 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/1.379, allocations: 0.5844 MB / 1.29 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/1.381, allocations: 0.9672 MB / 1.291 GB, free: 16.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006703/1.382, allocations: 200.6 kB / 1.291 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/1.382, allocations: 87.28 kB / 1.291 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.385, allocations: 1.266 MB / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/1.385, allocations: 0 / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.385, allocations: 32.3 kB / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.699e-05/1.385, allocations: 51.23 kB / 1.292 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/1.39, allocations: 1.615 MB / 1.294 GB, free: 16.75 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.007862/1.398, allocations: 4.092 MB / 1.298 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/1.4, allocations: 1.052 MB / 1.299 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.402, allocations: 0.6989 MB / 1.299 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.403, allocations: 0.6348 MB / 1.3 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/1.403, allocations: 44.78 kB / 1.3 GB, free: 14.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/1.403, allocations: 1.062 kB / 1.3 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005399/1.409, allocations: 1.928 MB / 1.302 GB, free: 14.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.409, allocations: 59.16 kB / 1.302 GB, free: 14.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.41, allocations: 0.8218 MB / 1.303 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.41, allocations: 40.05 kB / 1.303 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/1.41, allocations: 448.1 kB / 1.303 GB, free: 13.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.411, allocations: 266.2 kB / 1.304 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.411, allocations: 61.05 kB / 1.304 GB, free: 13.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.411, allocations: 329.4 kB / 1.304 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.412, allocations: 0.5653 MB / 1.304 GB, free: 13.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/1.414, allocations: 0.6883 MB / 1.305 GB, free: 13.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.417, allocations: 1.213 MB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.417, allocations: 0 / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003639/1.42, allocations: 1.412 MB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.421, allocations: 148.1 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.421, allocations: 3.125 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.421, allocations: 6.219 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.422, allocations: 279.7 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000746/1.423, allocations: 1.196 MB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.425, allocations: 190.4 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/1.425, allocations: 35.91 kB / 1.31 GB, free: 11.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.425, allocations: 3.406 kB / 1.31 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003079/1.428, allocations: 1.306 MB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.428, allocations: 0 / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/1.428, allocations: 8.609 kB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.429, allocations: 241.4 kB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.429, allocations: 6.5 kB / 1.311 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.431, allocations: 192.2 kB / 1.311 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/1.431, allocations: 34.38 kB / 1.311 GB, free: 11.47 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008343/1.431, allocations: 380.6 kB / 1.312 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/1.432, allocations: 104.6 kB / 1.312 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/1.435, allocations: 1.436 MB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.436, allocations: 6.625 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.436, allocations: 1.938 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.436, allocations: 7.078 kB / 1.313 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006125/1.442, allocations: 2.924 MB / 1.316 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.442, allocations: 3.188 kB / 1.316 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.443, allocations: 257.6 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.127e-05/1.443, allocations: 12.88 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.443, allocations: 24.75 kB / 1.316 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006332/1.444, allocations: 1.193 MB / 1.317 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.444, allocations: 5.844 kB / 1.317 GB, free: 9.422 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/1.447, allocations: 1.543 MB / 1.319 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/1.448, allocations: 312.7 kB / 1.319 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.448, allocations: 13.19 kB / 1.319 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.45, allocations: 162.5 kB / 1.319 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.45, allocations: 66.64 kB / 1.319 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/1.45, allocations: 37.66 kB / 1.32 GB, free: 8.875 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001054/1.451, allocations: 0.5664 MB / 1.32 GB, free: 8.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.451, allocations: 2.906 kB / 1.32 GB, free: 8.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002235/1.453, allocations: 0.5364 MB / 1.321 GB, free: 8.703 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00451/1.458, allocations: 2.245 MB / 1.323 GB, free: 7.777 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005507/1.464, allocations: 2.142 MB / 1.325 GB, free: 7.574 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.464, allocations: 2.906 kB / 1.325 GB, free: 7.574 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.465, allocations: 0.7037 MB / 1.326 GB, free: 7.555 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.469, allocations: 0.5262 MB / 1.326 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.491, allocations: 9.644 MB / 1.335 GB, free: 4.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008515/1.492, allocations: 1.104 MB / 1.337 GB, free: 3.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002119/1.494, allocations: 389.4 kB / 1.337 GB, free: 3.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/1.495, allocations: 387.8 kB / 1.337 GB, free: 3.426 MB / 1.014 GB Notification: Performance of SimCode: time 1.834e-06/1.495, allocations: 0 / 1.337 GB, free: 3.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07245/1.567, allocations: 27.73 MB / 1.364 GB, free: 6.27 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/1.567, allocations: 289.4 kB / 1.365 GB, free: 5.891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/4.131, allocations: 0 / 1.365 GB, free: 5.891 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches