Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001442/0.001442, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001673/0.001673, allocations: 215.5 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.896/2.896, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_12_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.001856/0.001856, allocations: 62.67 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3022, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2033/0.5055, allocations: 171.8 MB / 1.494 GB, free: 5.082 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.5175, allocations: 9.249 MB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.5182, allocations: 43.62 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009756/0.5192, allocations: 409 kB / 1.503 GB, free: 11.37 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.5217, allocations: 1.038 MB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.5247, allocations: 1.331 MB / 1.505 GB, free: 8.992 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.5266, allocations: 1.705 MB / 1.507 GB, free: 7.277 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009303/0.5276, allocations: 0.6098 MB / 1.508 GB, free: 6.645 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.5312, allocations: 1.681 MB / 1.509 GB, free: 4.957 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.5319, allocations: 0.5446 MB / 1.51 GB, free: 4.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.928e-05/0.532, allocations: 60 kB / 1.51 GB, free: 4.352 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.534, allocations: 1.169 MB / 1.511 GB, free: 3.18 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003887/0.5344, allocations: 355 kB / 1.511 GB, free: 2.832 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003996/0.5348, allocations: 362.3 kB / 1.512 GB, free: 2.477 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.5367, allocations: 1.467 MB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5367, allocations: 0 / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5367, allocations: 0 / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5367, allocations: 0 / 1.513 GB, free: 1.004 MB / 1.201 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.001548/0.5382, allocations: 1.1 MB / 1.514 GB, free: 15.87 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.5383, allocations: 11.97 kB / 1.514 GB, free: 15.86 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.5384, allocations: 126.6 kB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.5402, allocations: 295.1 kB / 1.515 GB, free: 15.44 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5412, allocations: 0.5049 MB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.5413, allocations: 57.98 kB / 1.515 GB, free: 14.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5414, allocations: 76 kB / 1.515 GB, free: 14.77 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5428, allocations: 0.8947 MB / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.5428, allocations: 11.98 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.5429, allocations: 28 kB / 1.516 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.5429, allocations: 37.3 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5439, allocations: 0.5787 MB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.5475, allocations: 2.99 MB / 1.52 GB, free: 10.06 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.5479, allocations: 215.6 kB / 1.52 GB, free: 9.824 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.5481, allocations: 134.5 kB / 1.52 GB, free: 9.684 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/0.5488, allocations: 111.8 kB / 1.52 GB, free: 9.574 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5488, allocations: 38.5 kB / 1.52 GB, free: 9.527 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.5488, allocations: 4 kB / 1.52 GB, free: 9.523 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001212/0.55, allocations: 454.5 kB / 1.521 GB, free: 9.074 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/0.5501, allocations: 106.8 kB / 1.521 GB, free: 8.945 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.5512, allocations: 0.8683 MB / 1.522 GB, free: 8.062 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.5512, allocations: 33.7 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.5515, allocations: 388.2 kB / 1.522 GB, free: 7.637 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.5516, allocations: 79.42 kB / 1.522 GB, free: 7.559 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5517, allocations: 57.7 kB / 1.522 GB, free: 7.496 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5518, allocations: 318 kB / 1.522 GB, free: 7.18 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.552, allocations: 103.9 kB / 1.522 GB, free: 7.078 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.5524, allocations: 339.6 kB / 1.523 GB, free: 6.676 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.5529, allocations: 308.6 kB / 1.523 GB, free: 6.336 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5529, allocations: 0 / 1.523 GB, free: 6.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006919/0.5536, allocations: 408.6 kB / 1.523 GB, free: 5.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5536, allocations: 9.25 kB / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5536, allocations: 0 / 1.523 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5537, allocations: 11.94 kB / 1.524 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.554, allocations: 63.97 kB / 1.524 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.554, allocations: 12.27 kB / 1.524 GB, free: 5.836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.5544, allocations: 87.28 kB / 1.524 GB, free: 5.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.5544, allocations: 12 kB / 1.524 GB, free: 5.738 MB / 1.217 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.000266/0.5547, allocations: 229.7 kB / 1.524 GB, free: 5.504 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.5548, allocations: 83.48 kB / 1.524 GB, free: 5.422 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.5555, allocations: 322.2 kB / 1.524 GB, free: 5.102 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5555, allocations: 4 kB / 1.524 GB, free: 5.098 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5555, allocations: 0 / 1.524 GB, free: 5.098 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5555, allocations: 7.938 kB / 1.524 GB, free: 5.09 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.5575, allocations: 1.287 MB / 1.526 GB, free: 3.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5575, allocations: 4 kB / 1.526 GB, free: 3.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.5577, allocations: 51.91 kB / 1.526 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.5577, allocations: 4 kB / 1.526 GB, free: 3.641 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.5577, allocations: 11.94 kB / 1.526 GB, free: 3.629 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.5577, allocations: 4 kB / 1.526 GB, free: 3.625 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.5577, allocations: 7.938 kB / 1.526 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.5584, allocations: 0.5184 MB / 1.526 GB, free: 3.031 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.5586, allocations: 111.4 kB / 1.526 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.5587, allocations: 12 kB / 1.526 GB, free: 2.91 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.5591, allocations: 15.92 kB / 1.526 GB, free: 2.895 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.5591, allocations: 31.84 kB / 1.526 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.5591, allocations: 12 kB / 1.526 GB, free: 2.852 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007308/0.5599, allocations: 0.6122 MB / 1.527 GB, free: 2.246 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5599, allocations: 4 kB / 1.527 GB, free: 2.242 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007067/0.5606, allocations: 167.7 kB / 1.527 GB, free: 2.078 MB / 1.217 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.001136/0.5617, allocations: 1.134 MB / 1.528 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.5623, allocations: 259.7 kB / 1.528 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5623, allocations: 0 / 1.528 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.5625, allocations: 129 kB / 1.529 GB, free: 496 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.5642, allocations: 424.3 kB / 1.529 GB, free: 76 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.5719, allocations: 5.999 MB / 1.535 GB, free: 9.758 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5723, allocations: 398 kB / 1.535 GB, free: 9.344 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.000503/0.5728, allocations: 162.2 kB / 1.535 GB, free: 9.184 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.5732, allocations: 267.4 kB / 1.536 GB, free: 8.922 MB / 1.233 GB Notification: Performance of SimCode: time 9.02e-07/0.5732, allocations: 0 / 1.536 GB, free: 8.922 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.6274, allocations: 23.15 MB / 1.558 GB, free: 2.293 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.55, allocations: 6.328 kB / 1.558 GB, free: 2.289 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.522369370999513]