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.00149/0.00149, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00168/0.00168, allocations: 213 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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 2.932/2.932, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 65.55 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.189/0.4886, allocations: 171.8 MB / 1.531 GB, free: 1.629 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.5001, allocations: 9.25 MB / 1.54 GB, free: 8.355 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006888/0.5007, allocations: 47.56 kB / 1.54 GB, free: 8.309 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009403/0.5017, allocations: 412.9 kB / 1.541 GB, free: 7.902 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.5041, allocations: 1.027 MB / 1.542 GB, free: 6.871 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.5069, allocations: 1.327 MB / 1.543 GB, free: 5.543 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.5088, allocations: 1.69 MB / 1.545 GB, free: 3.848 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009752/0.5098, allocations: 0.6059 MB / 1.545 GB, free: 3.219 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.5131, allocations: 1.693 MB / 1.547 GB, free: 1.52 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.5138, allocations: 0.5172 MB / 1.547 GB, free: 1 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.5139, allocations: 60 kB / 1.547 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.5158, allocations: 1.134 MB / 1.548 GB, free: 15.8 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.5162, allocations: 362.9 kB / 1.549 GB, free: 15.45 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.5166, allocations: 354.3 kB / 1.549 GB, free: 15.1 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.5185, allocations: 1.471 MB / 1.551 GB, free: 13.62 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5185, allocations: 0 / 1.551 GB, free: 13.62 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5185, allocations: 0 / 1.551 GB, free: 13.62 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5185, allocations: 3.938 kB / 1.551 GB, free: 13.62 MB / 1.248 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.001429/0.52, allocations: 1.1 MB / 1.552 GB, free: 12.49 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.52, allocations: 12.02 kB / 1.552 GB, free: 12.48 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5201, allocations: 122.6 kB / 1.552 GB, free: 12.35 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5217, allocations: 295.1 kB / 1.552 GB, free: 12.06 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.5227, allocations: 0.5088 MB / 1.553 GB, free: 11.52 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.5228, allocations: 62 kB / 1.553 GB, free: 11.46 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5229, allocations: 75.98 kB / 1.553 GB, free: 11.39 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.5242, allocations: 0.8947 MB / 1.554 GB, free: 10.43 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5242, allocations: 3.938 kB / 1.554 GB, free: 10.43 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.5243, allocations: 31.98 kB / 1.554 GB, free: 10.4 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.5243, allocations: 41.3 kB / 1.554 GB, free: 10.36 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/0.5253, allocations: 0.5709 MB / 1.554 GB, free: 9.789 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.5288, allocations: 2.994 MB / 1.557 GB, free: 6.688 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.5291, allocations: 215.7 kB / 1.557 GB, free: 6.449 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.5294, allocations: 142.5 kB / 1.557 GB, free: 6.301 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/0.53, allocations: 99.91 kB / 1.558 GB, free: 6.203 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.53, allocations: 38.55 kB / 1.558 GB, free: 6.156 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.53, allocations: 0 / 1.558 GB, free: 6.156 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001154/0.5312, allocations: 456.3 kB / 1.558 GB, free: 5.707 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.5312, allocations: 119 kB / 1.558 GB, free: 5.566 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5323, allocations: 0.8722 MB / 1.559 GB, free: 4.684 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5323, allocations: 29.7 kB / 1.559 GB, free: 4.648 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.5326, allocations: 388.2 kB / 1.559 GB, free: 4.262 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.5327, allocations: 79.38 kB / 1.559 GB, free: 4.184 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5328, allocations: 57.66 kB / 1.56 GB, free: 4.121 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5329, allocations: 322 kB / 1.56 GB, free: 3.801 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5332, allocations: 99.92 kB / 1.56 GB, free: 3.703 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.5335, allocations: 335.6 kB / 1.56 GB, free: 3.305 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.534, allocations: 312.6 kB / 1.561 GB, free: 2.961 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.534, allocations: 0 / 1.561 GB, free: 2.961 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007061/0.5347, allocations: 410.8 kB / 1.561 GB, free: 2.555 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5348, allocations: 4 kB / 1.561 GB, free: 2.551 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5348, allocations: 4.344 kB / 1.561 GB, free: 2.547 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5348, allocations: 12 kB / 1.561 GB, free: 2.535 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.5351, allocations: 63.91 kB / 1.561 GB, free: 2.473 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.5351, allocations: 4 kB / 1.561 GB, free: 2.469 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.5355, allocations: 83.28 kB / 1.561 GB, free: 2.387 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5355, allocations: 16 kB / 1.561 GB, free: 2.371 MB / 1.248 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.0002607/0.5358, allocations: 229.7 kB / 1.561 GB, free: 2.137 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.5359, allocations: 83.48 kB / 1.561 GB, free: 2.055 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/0.5365, allocations: 328.6 kB / 1.562 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5365, allocations: 4 kB / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5365, allocations: 0 / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5365, allocations: 0 / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.5385, allocations: 1.287 MB / 1.563 GB, free: 340 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5385, allocations: 4 kB / 1.563 GB, free: 336 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5387, allocations: 47.86 kB / 1.563 GB, free: 288 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5387, allocations: 4 kB / 1.563 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.5388, allocations: 16.47 kB / 1.563 GB, free: 268 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.5388, allocations: 15.92 kB / 1.563 GB, free: 252 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5388, allocations: 4 kB / 1.563 GB, free: 248 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.5394, allocations: 0.517 MB / 1.564 GB, free: 15.66 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.5397, allocations: 115.4 kB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.5398, allocations: 4 kB / 1.564 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.5401, allocations: 23.92 kB / 1.564 GB, free: 15.52 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.5402, allocations: 31.84 kB / 1.564 GB, free: 15.48 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.5402, allocations: 12 kB / 1.564 GB, free: 15.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007641/0.541, allocations: 0.6122 MB / 1.564 GB, free: 14.87 MB / 1.264 GB Notification: Performance of sort global known variables: time 6e-08/0.541, allocations: 0 / 1.564 GB, free: 14.87 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000538/0.5415, allocations: 167.7 kB / 1.565 GB, free: 14.7 MB / 1.264 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.001128/0.5426, allocations: 1.129 MB / 1.566 GB, free: 13.49 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.5432, allocations: 255.7 kB / 1.566 GB, free: 13.24 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5432, allocations: 0 / 1.566 GB, free: 13.24 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.5434, allocations: 129 kB / 1.566 GB, free: 13.12 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5451, allocations: 428.1 kB / 1.566 GB, free: 12.71 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/0.5528, allocations: 5.997 MB / 1.572 GB, free: 6.398 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.5532, allocations: 398 kB / 1.573 GB, free: 5.984 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004677/0.5537, allocations: 154.2 kB / 1.573 GB, free: 5.832 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003515/0.554, allocations: 279.3 kB / 1.573 GB, free: 5.559 MB / 1.264 GB Notification: Performance of SimCode: time 5.71e-07/0.554, allocations: 0 / 1.573 GB, free: 5.559 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.6071, allocations: 23.04 MB / 1.596 GB, free: 15.03 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.34, allocations: 8.047 kB / 1.596 GB, free: 15.02 MB / 1.295 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.35722766816616]