Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_Buildings_Fluid_Delays_Examples_Delay",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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001042/0.001042, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.55 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1661/0.3976, allocations: 181 MB / 1.229 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006759/0.4044, allocations: 4.924 MB / 1.234 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.4051, allocations: 27.81 kB / 1.234 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.4061, allocations: 378 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.4089, allocations: 1.333 MB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.4105, allocations: 0.6894 MB / 1.236 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.4129, allocations: 2.538 MB / 1.239 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.4136, allocations: 0.5108 MB / 1.239 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4151, allocations: 0.7741 MB / 1.24 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.4162, allocations: 0.5762 MB / 1.24 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4163, allocations: 32 kB / 1.24 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.4186, allocations: 1.609 MB / 1.242 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.4189, allocations: 239.2 kB / 1.242 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.4193, allocations: 370.1 kB / 1.243 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.4211, allocations: 1.461 MB / 1.244 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4211, allocations: 4 kB / 1.244 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.4211, allocations: 0 / 1.244 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.4211, allocations: 0 / 1.244 GB, free: 3.082 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001594/0.4227, allocations: 1.102 MB / 1.245 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4228, allocations: 15.97 kB / 1.245 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.762e-05/0.4229, allocations: 82.53 kB / 1.245 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.4241, allocations: 214.8 kB / 1.245 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000795/0.4249, allocations: 0.5733 MB / 1.246 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.425, allocations: 40.98 kB / 1.246 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.4251, allocations: 44 kB / 1.246 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.4259, allocations: 498.4 kB / 1.247 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4259, allocations: 0 / 1.247 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.426, allocations: 23.98 kB / 1.247 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.426, allocations: 17 kB / 1.247 GB, free: 388 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4024/0.8284, allocations: 431.5 kB / 1.247 GB, free: 196.5 MB / 0.9981 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.002555/0.831, allocations: 2.007 MB / 1.249 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.8316, allocations: 352.9 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.8319, allocations: 204.1 kB / 1.249 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.8322, allocations: 192.6 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8322, allocations: 39.28 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.8322, allocations: 2.188 kB / 1.25 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001154/0.8333, allocations: 0.5441 MB / 1.25 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.8334, allocations: 58.81 kB / 1.25 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.8339, allocations: 0.5064 MB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.8339, allocations: 35.05 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.8341, allocations: 306.9 kB / 1.251 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.8342, allocations: 117 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.8343, allocations: 66.06 kB / 1.251 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.8343, allocations: 365.3 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.8346, allocations: 146.7 kB / 1.252 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.8349, allocations: 215.8 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.8354, allocations: 339.3 kB / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8354, allocations: 0 / 1.252 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006185/0.8361, allocations: 435.7 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8361, allocations: 9.719 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8361, allocations: 6.375 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8361, allocations: 3.031 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.8364, allocations: 70.75 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8364, allocations: 7.281 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.8369, allocations: 66.86 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.837, allocations: 11.53 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003586/0.8373, allocations: 303.9 kB / 1.253 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002501/0.8376, allocations: 220.7 kB / 1.253 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004453/0.838, allocations: 328.6 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.8381, allocations: 0 / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000579/0.8386, allocations: 423.1 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.8387, allocations: 5.094 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.8387, allocations: 2.281 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.8387, allocations: 10.66 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.839, allocations: 67.81 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.839, allocations: 3.719 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.8395, allocations: 63.09 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.8395, allocations: 12.34 kB / 1.254 GB, free: 194 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 7.897e-05/0.8396, allocations: 196.9 kB / 1.254 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.8397, allocations: 61.53 kB / 1.255 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006552/0.8403, allocations: 424.4 kB / 1.255 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.8403, allocations: 3.391 kB / 1.255 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8403, allocations: 0.75 kB / 1.255 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004926/0.8408, allocations: 440 kB / 1.255 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.8423, allocations: 1.174 MB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8423, allocations: 0 / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.8427, allocations: 88.95 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8427, allocations: 6.156 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.8428, allocations: 11.55 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.8428, allocations: 8.625 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8428, allocations: 2.688 kB / 1.257 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008769/0.8437, allocations: 0.6957 MB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.8439, allocations: 180.3 kB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.8439, allocations: 13.8 kB / 1.257 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.8444, allocations: 49.34 kB / 1.258 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/0.8445, allocations: 28.62 kB / 1.258 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.8445, allocations: 16.86 kB / 1.258 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003313/0.8449, allocations: 362.2 kB / 1.258 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8449, allocations: 0 / 1.258 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006699/0.8456, allocations: 330.8 kB / 1.258 GB, free: 192.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.001254/0.8468, allocations: 1.322 MB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008341/0.8477, allocations: 0.5159 MB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8477, allocations: 2.938 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.848, allocations: 184.3 kB / 1.26 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.8496, allocations: 376 kB / 1.261 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.8554, allocations: 4.935 MB / 1.265 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.8558, allocations: 0.933 MB / 1.266 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006301/0.8564, allocations: 187.2 kB / 1.266 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.8567, allocations: 217.8 kB / 1.267 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.8567, allocations: 5.203 kB / 1.267 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.884, allocations: 16.26 MB / 1.283 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.8842, allocations: 231.9 kB / 1.283 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.941, allocations: 0 / 1.283 GB, free: 183.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches