Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001043/0.001043, allocations: 98.27 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.00705/0.00705, allocations: 172.8 kB / 16.27 MB, free: 6.652 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.346/1.346, 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.691/2.691, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003545, allocations: 8.562 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.8733/1.212, allocations: 209.2 MB / 1.263 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01036/1.222, allocations: 7.07 MB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/1.224, allocations: 34.91 kB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/1.226, allocations: 0.6478 MB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/1.233, allocations: 2.364 MB / 1.273 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/1.237, allocations: 1.055 MB / 1.274 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006503/1.243, allocations: 3.751 MB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/1.245, allocations: 0.8977 MB / 1.279 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/1.25, allocations: 1.763 MB / 1.28 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/1.253, allocations: 0.9131 MB / 1.281 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002849/1.253, allocations: 45.91 kB / 1.281 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006674/1.26, allocations: 2.8 MB / 1.284 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/1.261, allocations: 343.8 kB / 1.284 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.262, allocations: 0.6299 MB / 1.285 GB, free: 18.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004907/1.267, allocations: 2.518 MB / 1.287 GB, free: 18.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.267, allocations: 5.75 kB / 1.287 GB, free: 18.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.805e-06/1.267, allocations: 1.094 kB / 1.287 GB, free: 18.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.429e-05/1.267, allocations: 0 / 1.287 GB, free: 18.12 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.004386/1.271, allocations: 1.601 MB / 1.289 GB, free: 17.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.272, allocations: 17.81 kB / 1.289 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/1.272, allocations: 128.9 kB / 1.289 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/1.275, allocations: 0.5797 MB / 1.29 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/1.277, allocations: 0.9686 MB / 1.291 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006598/1.278, allocations: 196.9 kB / 1.291 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/1.278, allocations: 83.78 kB / 1.291 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/1.28, allocations: 1.276 MB / 1.292 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.28, allocations: 5.031 kB / 1.292 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.281, allocations: 32.66 kB / 1.292 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/1.281, allocations: 46.61 kB / 1.292 GB, free: 16.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/1.284, allocations: 1.617 MB / 1.294 GB, free: 16.62 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.006586/1.291, allocations: 4.091 MB / 1.298 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.294, allocations: 1.052 MB / 1.299 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/1.295, allocations: 0.7021 MB / 1.299 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.296, allocations: 0.6349 MB / 1.3 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.296, allocations: 42.14 kB / 1.3 GB, free: 14.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/1.296, allocations: 0 / 1.3 GB, free: 14.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.005275/1.302, allocations: 1.929 MB / 1.302 GB, free: 14.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.302, allocations: 59.16 kB / 1.302 GB, free: 14.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.303, allocations: 0.8202 MB / 1.303 GB, free: 13.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.303, allocations: 42.17 kB / 1.303 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/1.303, allocations: 445.1 kB / 1.303 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/1.304, allocations: 264.5 kB / 1.304 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.304, allocations: 64.31 kB / 1.304 GB, free: 13.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.304, allocations: 329.9 kB / 1.304 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.305, allocations: 0.5628 MB / 1.304 GB, free: 13.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.307, allocations: 0.6956 MB / 1.305 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/1.31, allocations: 1.204 MB / 1.306 GB, free: 13.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.31, allocations: 0 / 1.306 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00346/1.313, allocations: 1.414 MB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.313, allocations: 155.6 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.313, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.313, allocations: 5.281 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.315, allocations: 273.2 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/1.316, allocations: 1.197 MB / 1.309 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.317, allocations: 196.3 kB / 1.309 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.318, allocations: 33.47 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.318, allocations: 2.625 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/1.321, allocations: 1.313 MB / 1.311 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.321, allocations: 3.625 kB / 1.311 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/1.321, allocations: 3.594 kB / 1.311 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.322, allocations: 248.1 kB / 1.311 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/1.322, allocations: 6.781 kB / 1.311 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.323, allocations: 185.7 kB / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/1.323, allocations: 38.08 kB / 1.311 GB, free: 11.34 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.0006554/1.324, allocations: 377.3 kB / 1.312 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/1.324, allocations: 102.1 kB / 1.312 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/1.327, allocations: 1.435 MB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.327, allocations: 11.08 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.327, allocations: 0 / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.327, allocations: 10 kB / 1.313 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/1.333, allocations: 2.918 MB / 1.316 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.333, allocations: 5.25 kB / 1.316 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.334, allocations: 255.5 kB / 1.316 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/1.334, allocations: 10.06 kB / 1.316 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.506e-05/1.334, allocations: 24.73 kB / 1.316 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005515/1.334, allocations: 1.199 MB / 1.317 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.334, allocations: 9.125 kB / 1.317 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/1.338, allocations: 1.543 MB / 1.319 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/1.338, allocations: 309.8 kB / 1.319 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.338, allocations: 15.38 kB / 1.319 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.34, allocations: 164.2 kB / 1.319 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/1.34, allocations: 59.67 kB / 1.319 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/1.34, allocations: 37.95 kB / 1.32 GB, free: 8.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007354/1.341, allocations: 0.5698 MB / 1.32 GB, free: 8.641 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.341, allocations: 3.125 kB / 1.32 GB, free: 8.641 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001396/1.342, allocations: 0.5362 MB / 1.321 GB, free: 8.574 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.0039/1.346, allocations: 2.251 MB / 1.323 GB, free: 7.648 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005121/1.351, allocations: 2.13 MB / 1.325 GB, free: 7.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.351, allocations: 3.312 kB / 1.325 GB, free: 7.453 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/1.353, allocations: 0.7136 MB / 1.326 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/1.356, allocations: 0.5135 MB / 1.326 GB, free: 7.383 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/1.375, allocations: 9.654 MB / 1.336 GB, free: 4.125 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/1.375, allocations: 1.095 MB / 1.337 GB, free: 3.398 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001787/1.377, allocations: 393.9 kB / 1.337 GB, free: 3.309 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/1.378, allocations: 390.3 kB / 1.337 GB, free: 3.301 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.378, allocations: 4 kB / 1.337 GB, free: 3.297 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/1.432, allocations: 27.75 MB / 1.364 GB, free: 6.25 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/1.432, allocations: 308.6 kB / 1.365 GB, free: 5.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/4.033, allocations: 1.859 kB / 1.365 GB, free: 5.867 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches