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.001769/0.001769, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002063/0.002063, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.771/2.771, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="cs",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.001943/0.001943, allocations: 71.84 kB / 1.15 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8735, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2195/1.093, allocations: 197.8 MB / 1.515 GB, free: 3.531 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.106, allocations: 10.11 MB / 1.524 GB, free: 9.395 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/1.107, allocations: 47.62 kB / 1.525 GB, free: 9.348 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/1.109, allocations: 401 kB / 1.525 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/1.112, allocations: 1.065 MB / 1.526 GB, free: 7.883 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/1.115, allocations: 1.319 MB / 1.527 GB, free: 6.562 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002375/1.117, allocations: 1.678 MB / 1.529 GB, free: 4.875 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/1.118, allocations: 0.691 MB / 1.53 GB, free: 4.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/1.122, allocations: 1.697 MB / 1.531 GB, free: 2.457 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006522/1.123, allocations: 0.5446 MB / 1.532 GB, free: 1.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/1.123, allocations: 64 kB / 1.532 GB, free: 1.848 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/1.125, allocations: 1.481 MB / 1.533 GB, free: 372 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004943/1.126, allocations: 358.9 kB / 1.534 GB, free: 12 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005622/1.126, allocations: 441.9 kB / 1.534 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/1.129, allocations: 1.502 MB / 1.535 GB, free: 14.07 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.129, allocations: 4 kB / 1.535 GB, free: 14.07 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.844e-06/1.129, allocations: 0 / 1.535 GB, free: 14.07 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.462e-05/1.129, allocations: 0 / 1.535 GB, free: 14.07 MB / 1.217 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.001695/1.131, allocations: 1.171 MB / 1.537 GB, free: 12.84 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.131, allocations: 11.98 kB / 1.537 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.399e-05/1.131, allocations: 25.98 kB / 1.537 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/1.131, allocations: 122.6 kB / 1.537 GB, free: 12.68 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/1.133, allocations: 295.1 kB / 1.537 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009677/1.134, allocations: 0.5744 MB / 1.538 GB, free: 11.77 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/1.134, allocations: 61.98 kB / 1.538 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/1.134, allocations: 72 kB / 1.538 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.135, allocations: 0.8986 MB / 1.539 GB, free: 10.68 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.135, allocations: 4 kB / 1.539 GB, free: 10.68 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/1.135, allocations: 39.94 kB / 1.539 GB, free: 10.64 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/1.135, allocations: 37.23 kB / 1.539 GB, free: 10.61 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.136, allocations: 0.571 MB / 1.539 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/1.14, allocations: 3.502 MB / 1.543 GB, free: 6.34 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/1.14, allocations: 207.7 kB / 1.543 GB, free: 6.109 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/1.141, allocations: 146.4 kB / 1.543 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/1.142, allocations: 489.4 kB / 1.543 GB, free: 5.387 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.142, allocations: 34.56 kB / 1.544 GB, free: 5.344 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/1.142, allocations: 0 / 1.544 GB, free: 5.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001258/1.143, allocations: 459.7 kB / 1.544 GB, free: 4.891 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/1.143, allocations: 110.8 kB / 1.544 GB, free: 4.758 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.144, allocations: 0.8683 MB / 1.545 GB, free: 3.883 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/1.144, allocations: 25.7 kB / 1.545 GB, free: 3.852 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/1.144, allocations: 388.2 kB / 1.545 GB, free: 3.469 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/1.144, allocations: 79.33 kB / 1.545 GB, free: 3.391 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.145, allocations: 65.7 kB / 1.545 GB, free: 3.32 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.145, allocations: 318 kB / 1.546 GB, free: 3.004 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.145, allocations: 99.91 kB / 1.546 GB, free: 2.906 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/1.145, allocations: 211.6 kB / 1.546 GB, free: 2.66 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/1.146, allocations: 304.7 kB / 1.546 GB, free: 2.324 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.146, allocations: 8 kB / 1.546 GB, free: 2.316 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000724/1.146, allocations: 398.5 kB / 1.547 GB, free: 1.922 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.146, allocations: 8 kB / 1.547 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.146, allocations: 7.984 kB / 1.547 GB, free: 1.906 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/1.147, allocations: 12.22 kB / 1.547 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/1.147, allocations: 63.84 kB / 1.547 GB, free: 1.832 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.147, allocations: 8 kB / 1.547 GB, free: 1.824 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/1.147, allocations: 79.28 kB / 1.547 GB, free: 1.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/1.147, allocations: 23.94 kB / 1.547 GB, free: 1.723 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.0002772/1.148, allocations: 226.2 kB / 1.547 GB, free: 1.492 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.148, allocations: 83.48 kB / 1.547 GB, free: 1.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006565/1.148, allocations: 330.9 kB / 1.548 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.148, allocations: 4 kB / 1.548 GB, free: 1.078 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.148, allocations: 0 / 1.548 GB, free: 1.078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.148, allocations: 7.984 kB / 1.548 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/1.15, allocations: 1.365 MB / 1.549 GB, free: 15.59 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.15, allocations: 4 kB / 1.549 GB, free: 15.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/1.151, allocations: 47.91 kB / 1.549 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/1.151, allocations: 11.94 kB / 1.549 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.151, allocations: 4.531 kB / 1.549 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.151, allocations: 8 kB / 1.549 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.151, allocations: 11.94 kB / 1.549 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/1.151, allocations: 0.5092 MB / 1.549 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/1.152, allocations: 192.5 kB / 1.55 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/1.152, allocations: 15.94 kB / 1.55 GB, free: 14.71 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.152, allocations: 11.98 kB / 1.55 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/1.152, allocations: 31.86 kB / 1.55 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/1.152, allocations: 12 kB / 1.55 GB, free: 14.65 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007814/1.153, allocations: 0.6122 MB / 1.55 GB, free: 14.04 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.153, allocations: 0 / 1.55 GB, free: 14.04 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005902/1.153, allocations: 159.8 kB / 1.55 GB, free: 13.89 MB / 1.232 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.001183/1.155, allocations: 1.134 MB / 1.552 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005916/1.155, allocations: 260.2 kB / 1.552 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.155, allocations: 4.125 kB / 1.552 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/1.155, allocations: 127.7 kB / 1.552 GB, free: 12.29 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.157, allocations: 430.5 kB / 1.552 GB, free: 11.88 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.165, allocations: 6.012 MB / 1.558 GB, free: 5.551 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/1.166, allocations: 0.9917 MB / 1.559 GB, free: 4.531 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005122/1.166, allocations: 166.2 kB / 1.559 GB, free: 4.367 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/1.167, allocations: 267.4 kB / 1.56 GB, free: 4.105 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/1.167, allocations: 0 / 1.56 GB, free: 4.105 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/1.212, allocations: 20.86 MB / 1.58 GB, free: 15.61 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.283/10.49, allocations: 4 kB / 1.58 GB, free: 15.6 MB / 1.264 GB " [Timeout remaining time 289] (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: 16.674406756996177]