Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009078/0.0009078, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009395/0.0009395, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8578/0.8578, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.666/1.666, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.213e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.5898/0.5898, allocations: 171.5 MB / 1.167 GB, free: 7.703 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.6001, allocations: 9.186 MB / 1.176 GB, free: 1.504 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.6011, allocations: 42.03 kB / 1.176 GB, free: 1.48 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.6021, allocations: 414.4 kB / 1.177 GB, free: 1.215 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.6048, allocations: 1.043 MB / 1.178 GB, free: 0.6445 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.608, allocations: 1.392 MB / 1.179 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.6103, allocations: 1.624 MB / 1.181 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009764/0.6113, allocations: 0.5506 MB / 1.181 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.6155, allocations: 1.897 MB / 1.183 GB, free: 14.1 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.6163, allocations: 469 kB / 1.183 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.6165, allocations: 63.66 kB / 1.183 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.6193, allocations: 1.162 MB / 1.185 GB, free: 13.52 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.6198, allocations: 373.1 kB / 1.185 GB, free: 13.36 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.6203, allocations: 294.4 kB / 1.185 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.6233, allocations: 1.499 MB / 1.187 GB, free: 12.74 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6233, allocations: 0 / 1.187 GB, free: 12.74 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.6233, allocations: 0 / 1.187 GB, free: 12.74 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.291e-05/0.6233, allocations: 5.031 kB / 1.187 GB, free: 12.74 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001676/0.625, allocations: 1.075 MB / 1.188 GB, free: 11.99 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6251, allocations: 9.688 kB / 1.188 GB, free: 11.99 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.6252, allocations: 128.9 kB / 1.188 GB, free: 11.9 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.6262, allocations: 297.3 kB / 1.188 GB, free: 11.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.6271, allocations: 0.4925 MB / 1.189 GB, free: 11.51 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.6271, allocations: 56.41 kB / 1.189 GB, free: 11.48 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.6272, allocations: 77.17 kB / 1.189 GB, free: 11.46 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.6283, allocations: 0.9036 MB / 1.19 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.6283, allocations: 3.969 kB / 1.19 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/0.6284, allocations: 35.7 kB / 1.19 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.6284, allocations: 41.03 kB / 1.19 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.6292, allocations: 0.5734 MB / 1.19 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.6319, allocations: 2.976 MB / 1.193 GB, free: 8.605 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.6322, allocations: 213.2 kB / 1.193 GB, free: 8.484 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.6324, allocations: 139.7 kB / 1.194 GB, free: 8.426 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.6328, allocations: 107.7 kB / 1.194 GB, free: 8.414 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6328, allocations: 36.66 kB / 1.194 GB, free: 8.375 MB / 1.042 GB Notification: Performance of pre-optimization done (n=21): time 2.875e-06/0.6328, allocations: 0 / 1.194 GB, free: 8.375 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.00101/0.6338, allocations: 457.5 kB / 1.194 GB, free: 8.207 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.6339, allocations: 113.2 kB / 1.194 GB, free: 8.078 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.6348, allocations: 0.8565 MB / 1.195 GB, free: 7.746 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.6348, allocations: 31.98 kB / 1.195 GB, free: 7.711 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.635, allocations: 391 kB / 1.195 GB, free: 7.402 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.6351, allocations: 74.66 kB / 1.196 GB, free: 7.344 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.6352, allocations: 54.75 kB / 1.196 GB, free: 7.312 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.6353, allocations: 325.8 kB / 1.196 GB, free: 6.996 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.6354, allocations: 99.75 kB / 1.196 GB, free: 6.973 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.6357, allocations: 337.8 kB / 1.196 GB, free: 6.68 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.636, allocations: 308.4 kB / 1.197 GB, free: 6.496 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.636, allocations: 1.094 kB / 1.197 GB, free: 6.496 MB / 1.042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007805/0.6368, allocations: 406.5 kB / 1.197 GB, free: 6.328 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.6368, allocations: 7.031 kB / 1.197 GB, free: 6.328 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6368, allocations: 3.406 kB / 1.197 GB, free: 6.328 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6368, allocations: 4.531 kB / 1.197 GB, free: 6.328 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.637, allocations: 62.61 kB / 1.197 GB, free: 6.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.637, allocations: 7.812 kB / 1.197 GB, free: 6.316 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.6374, allocations: 87.88 kB / 1.197 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6374, allocations: 16.59 kB / 1.197 GB, free: 6.254 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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 0.0002513/0.6377, allocations: 230 kB / 1.197 GB, free: 6.094 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.6378, allocations: 85.02 kB / 1.197 GB, free: 6.047 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.6382, allocations: 317.9 kB / 1.198 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6382, allocations: 3.281 kB / 1.198 GB, free: 5.918 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6382, allocations: 5.562 kB / 1.198 GB, free: 5.914 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6382, allocations: 3.938 kB / 1.198 GB, free: 5.91 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6396, allocations: 1.284 MB / 1.199 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6396, allocations: 4.375 kB / 1.199 GB, free: 5.094 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6398, allocations: 48.81 kB / 1.199 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6398, allocations: 5.375 kB / 1.199 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.6398, allocations: 5.562 kB / 1.199 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.6398, allocations: 5.312 kB / 1.199 GB, free: 5.086 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6398, allocations: 15.89 kB / 1.199 GB, free: 5.078 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.6403, allocations: 0.5157 MB / 1.2 GB, free: 4.691 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.6405, allocations: 115.4 kB / 1.2 GB, free: 4.629 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.6405, allocations: 12.81 kB / 1.2 GB, free: 4.625 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.6407, allocations: 12.09 kB / 1.2 GB, free: 4.625 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.6408, allocations: 31.34 kB / 1.2 GB, free: 4.613 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6408, allocations: 13.12 kB / 1.2 GB, free: 4.609 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0005864/0.6414, allocations: 0.6108 MB / 1.2 GB, free: 4.367 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6414, allocations: 0.9688 kB / 1.2 GB, free: 4.367 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005146/0.6419, allocations: 162.4 kB / 1.201 GB, free: 4.34 MB / 1.042 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 (21): * Single equations (assignments): 21 * 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.0008567/0.6427, allocations: 1.116 MB / 1.202 GB, free: 3.414 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.6431, allocations: 260.3 kB / 1.202 GB, free: 3.336 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6431, allocations: 1.125 kB / 1.202 GB, free: 3.336 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6433, allocations: 130.2 kB / 1.202 GB, free: 3.297 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.6444, allocations: 403.1 kB / 1.202 GB, free: 3.188 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/0.6503, allocations: 5.985 MB / 1.208 GB, free: 15.59 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.6505, allocations: 395.3 kB / 1.209 GB, free: 15.36 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000489/0.651, allocations: 158.4 kB / 1.209 GB, free: 15.29 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.6513, allocations: 268.2 kB / 1.209 GB, free: 15.06 MB / 1.057 GB Notification: Performance of SimCode: time 1.373e-06/0.6513, allocations: 0 / 1.209 GB, free: 15.06 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.6852, allocations: 22.61 MB / 1.231 GB, free: 14.77 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/7.469, allocations: 6.234 kB / 1.231 GB, free: 14.77 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.365418506786227]