Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.001443/0.001443, allocations: 97.33 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.0111/0.0111, allocations: 172.2 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 12 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.673, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.9482/1.621, allocations: 248.1 MB / 1.265 GB, free: 25.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02259/1.644, allocations: 17.96 MB / 1.283 GB, free: 25.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/1.647, allocations: 71.59 kB / 1.283 GB, free: 25.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/1.649, allocations: 0.9049 MB / 1.284 GB, free: 25.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/1.66, allocations: 3.589 MB / 1.287 GB, free: 25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/1.666, allocations: 1.631 MB / 1.289 GB, free: 24.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009863/1.676, allocations: 6.795 MB / 1.296 GB, free: 24.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/1.679, allocations: 1.506 MB / 1.297 GB, free: 24.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/1.684, allocations: 1.826 MB / 1.299 GB, free: 24.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/1.688, allocations: 1.487 MB / 1.3 GB, free: 24.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003472/1.688, allocations: 72 kB / 1.3 GB, free: 24.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/1.694, allocations: 2.707 MB / 1.303 GB, free: 24.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006981/1.695, allocations: 471.5 kB / 1.304 GB, free: 24.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/1.697, allocations: 0.997 MB / 1.305 GB, free: 24.58 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005595/1.702, allocations: 3.626 MB / 1.308 GB, free: 24.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.702, allocations: 0 / 1.308 GB, free: 24.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/1.702, allocations: 0 / 1.308 GB, free: 24.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.196e-05/1.702, allocations: 0 / 1.308 GB, free: 24.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00385/1.706, allocations: 2.108 MB / 1.31 GB, free: 23.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.706, allocations: 8.812 kB / 1.31 GB, free: 23.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002385/1.707, allocations: 202.5 kB / 1.31 GB, free: 23.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/1.708, allocations: 373.8 kB / 1.311 GB, free: 23.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/1.711, allocations: 1.426 MB / 1.312 GB, free: 22.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/1.711, allocations: 107.8 kB / 1.312 GB, free: 22.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/1.711, allocations: 143.6 kB / 1.312 GB, free: 22.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/1.713, allocations: 1.513 MB / 1.314 GB, free: 22.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.713, allocations: 9.406 kB / 1.314 GB, free: 22.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.713, allocations: 55.44 kB / 1.314 GB, free: 22.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/1.713, allocations: 60.02 kB / 1.314 GB, free: 22.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/1.715, allocations: 1.161 MB / 1.315 GB, free: 22.34 MB / 0.9825 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.007242/1.723, allocations: 7.195 MB / 1.322 GB, free: 18.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/1.724, allocations: 0.8269 MB / 1.323 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006558/1.725, allocations: 451.3 kB / 1.323 GB, free: 18.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/1.725, allocations: 0.7317 MB / 1.324 GB, free: 17.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/1.725, allocations: 41.47 kB / 1.324 GB, free: 17.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=74): time 2.474e-06/1.725, allocations: 0 / 1.324 GB, free: 17.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74): time 0.006398/1.732, allocations: 2.151 MB / 1.326 GB, free: 16.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.732, allocations: 60.44 kB / 1.326 GB, free: 16.85 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.734, allocations: 1.318 MB / 1.328 GB, free: 16.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.734, allocations: 42.23 kB / 1.328 GB, free: 16.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/1.734, allocations: 0.7948 MB / 1.328 GB, free: 16.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.734, allocations: 260.4 kB / 1.329 GB, free: 16.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/1.735, allocations: 77.17 kB / 1.329 GB, free: 16.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/1.735, allocations: 340.4 kB / 1.329 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/1.735, allocations: 335.9 kB / 1.329 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/1.736, allocations: 0.5747 MB / 1.33 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.737, allocations: 0.8932 MB / 1.331 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.737, allocations: 2.969 kB / 1.331 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002317/1.739, allocations: 1.28 MB / 1.332 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.74, allocations: 235.7 kB / 1.332 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.74, allocations: 6.094 kB / 1.332 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.741, allocations: 421.5 kB / 1.333 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/1.742, allocations: 154.6 kB / 1.333 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/1.743, allocations: 2.062 MB / 1.335 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.745, allocations: 187.2 kB / 1.335 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/1.745, allocations: 45.53 kB / 1.335 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.745, allocations: 3.188 kB / 1.335 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/1.746, allocations: 1.067 MB / 1.336 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/1.747, allocations: 7.453 kB / 1.336 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/1.748, allocations: 372.5 kB / 1.336 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/1.749, allocations: 157.4 kB / 1.337 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.751, allocations: 3.862 MB / 1.34 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/1.753, allocations: 176.7 kB / 1.341 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/1.753, allocations: 42 kB / 1.341 GB, free: 9.066 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000765/1.753, allocations: 465.7 kB / 1.341 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/1.754, allocations: 164.1 kB / 1.341 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.756, allocations: 1.222 MB / 1.342 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.756, allocations: 5.531 kB / 1.342 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.756, allocations: 6.875 kB / 1.342 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/1.758, allocations: 1.302 MB / 1.344 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/1.762, allocations: 2.776 MB / 1.346 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/1.762, allocations: 3.094 kB / 1.346 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/1.763, allocations: 104.8 kB / 1.346 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/1.764, allocations: 379.4 kB / 1.347 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.764, allocations: 14.62 kB / 1.347 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/1.766, allocations: 2.034 MB / 1.349 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.766, allocations: 3.312 kB / 1.349 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/1.767, allocations: 1.228 MB / 1.35 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/1.768, allocations: 340.8 kB / 1.35 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.768, allocations: 18.61 kB / 1.35 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.769, allocations: 127.8 kB / 1.35 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.769, allocations: 50.5 kB / 1.351 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/1.769, allocations: 29.17 kB / 1.351 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001078/1.77, allocations: 0.8977 MB / 1.351 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.77, allocations: 0 / 1.351 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002264/1.773, allocations: 0.8989 MB / 1.352 GB, free: 1.371 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/1.775, allocations: 2.005 MB / 1.354 GB, free: 16 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00319/1.778, allocations: 1.676 MB / 1.356 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.778, allocations: 2.5 kB / 1.356 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/1.779, allocations: 485.6 kB / 1.356 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.784, allocations: 0.7871 MB / 1.357 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/1.806, allocations: 12.23 MB / 1.369 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.807, allocations: 1.34 MB / 1.37 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001627/1.809, allocations: 321.8 kB / 1.371 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.81, allocations: 0.6438 MB / 1.371 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/1.81, allocations: 4 kB / 1.371 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09721/1.907, allocations: 43.12 MB / 1.413 GB, free: 7.957 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.907, allocations: 301.8 kB / 1.414 GB, free: 7.578 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/4.918, allocations: 0 / 1.414 GB, free: 7.578 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches