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.001649/0.001649, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001751/0.001751, allocations: 215.7 kB / 22.25 MB, free: 4.73 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.801 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.914/2.914, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.001926/0.001926, allocations: 69.23 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1984/0.4793, allocations: 171.8 MB / 1.493 GB, free: 5.992 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.491, allocations: 9.251 MB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.4918, allocations: 39.62 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000946/0.4927, allocations: 409 kB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.4952, allocations: 1.03 MB / 1.503 GB, free: 11.24 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.4981, allocations: 1.33 MB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5002, allocations: 1.694 MB / 1.506 GB, free: 8.211 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/0.5012, allocations: 0.5943 MB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.5058, allocations: 1.693 MB / 1.508 GB, free: 5.895 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.5068, allocations: 0.5211 MB / 1.509 GB, free: 5.371 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5069, allocations: 60 kB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.5092, allocations: 1.138 MB / 1.51 GB, free: 4.172 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.5096, allocations: 358.9 kB / 1.51 GB, free: 3.82 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004342/0.51, allocations: 362.3 kB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.5123, allocations: 1.471 MB / 1.512 GB, free: 1.988 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5123, allocations: 4 kB / 1.512 GB, free: 1.984 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5123, allocations: 4 kB / 1.512 GB, free: 1.98 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5123, allocations: 0 / 1.512 GB, free: 1.98 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.001553/0.5139, allocations: 1.096 MB / 1.513 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5139, allocations: 8.031 kB / 1.513 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.514, allocations: 130.6 kB / 1.513 GB, free: 0.707 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.5157, allocations: 299.1 kB / 1.514 GB, free: 424 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.5168, allocations: 0.5012 MB / 1.514 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.5168, allocations: 61.94 kB / 1.514 GB, free: 15.82 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5169, allocations: 71.91 kB / 1.514 GB, free: 15.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5183, allocations: 0.8909 MB / 1.515 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.5183, allocations: 7.938 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.5184, allocations: 31.98 kB / 1.515 GB, free: 14.76 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.5184, allocations: 41.23 kB / 1.515 GB, free: 14.72 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5195, allocations: 0.5826 MB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.5231, allocations: 2.978 MB / 1.519 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.5235, allocations: 215.6 kB / 1.519 GB, free: 10.81 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.5238, allocations: 150.5 kB / 1.519 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.5244, allocations: 107.9 kB / 1.519 GB, free: 10.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.5244, allocations: 34.56 kB / 1.519 GB, free: 10.51 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.5244, allocations: 0 / 1.519 GB, free: 10.51 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001274/0.5257, allocations: 462.5 kB / 1.52 GB, free: 10.05 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.5258, allocations: 102.8 kB / 1.52 GB, free: 9.926 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5269, allocations: 0.8683 MB / 1.521 GB, free: 9.043 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5269, allocations: 37.64 kB / 1.521 GB, free: 9 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.5273, allocations: 388.2 kB / 1.521 GB, free: 8.613 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.5273, allocations: 75.38 kB / 1.521 GB, free: 8.539 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5274, allocations: 57.7 kB / 1.521 GB, free: 8.477 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5276, allocations: 314 kB / 1.522 GB, free: 8.164 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.5278, allocations: 107.9 kB / 1.522 GB, free: 8.059 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.5282, allocations: 343.5 kB / 1.522 GB, free: 7.652 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.5287, allocations: 304.3 kB / 1.522 GB, free: 7.316 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5287, allocations: 0 / 1.522 GB, free: 7.316 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000757/0.5295, allocations: 410.2 kB / 1.523 GB, free: 6.91 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5295, allocations: 12.06 kB / 1.523 GB, free: 6.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5295, allocations: 4 kB / 1.523 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.5295, allocations: 7.938 kB / 1.523 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.5299, allocations: 55.91 kB / 1.523 GB, free: 6.832 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.5299, allocations: 7.984 kB / 1.523 GB, free: 6.824 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.5303, allocations: 79.33 kB / 1.523 GB, free: 6.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.5304, allocations: 16 kB / 1.523 GB, free: 6.73 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.0002902/0.5306, allocations: 229.7 kB / 1.523 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5308, allocations: 87.48 kB / 1.523 GB, free: 6.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.5314, allocations: 326.9 kB / 1.523 GB, free: 6.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5314, allocations: 4 kB / 1.523 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5314, allocations: 0 / 1.523 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.5314, allocations: 7.984 kB / 1.523 GB, free: 6.074 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.5335, allocations: 1.287 MB / 1.525 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5335, allocations: 4 kB / 1.525 GB, free: 4.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5337, allocations: 44.44 kB / 1.525 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5337, allocations: 8 kB / 1.525 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.5337, allocations: 15.94 kB / 1.525 GB, free: 4.613 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.5337, allocations: 11.92 kB / 1.525 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5338, allocations: 4 kB / 1.525 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.5345, allocations: 0.5143 MB / 1.525 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.5347, allocations: 115.4 kB / 1.525 GB, free: 3.902 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.5348, allocations: 11.98 kB / 1.525 GB, free: 3.891 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.5351, allocations: 19.94 kB / 1.525 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.5352, allocations: 31.84 kB / 1.525 GB, free: 3.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.5352, allocations: 11.94 kB / 1.525 GB, free: 3.828 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007896/0.536, allocations: 0.6122 MB / 1.526 GB, free: 3.223 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.536, allocations: 0 / 1.526 GB, free: 3.223 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005835/0.5366, allocations: 171.7 kB / 1.526 GB, free: 3.055 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.001186/0.5378, allocations: 1.134 MB / 1.527 GB, free: 1.84 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005709/0.5383, allocations: 261.1 kB / 1.528 GB, free: 1.586 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5383, allocations: 0.6875 kB / 1.528 GB, free: 1.586 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.5386, allocations: 127.7 kB / 1.528 GB, free: 1.461 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.5404, allocations: 419.6 kB / 1.528 GB, free: 1.051 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.5482, allocations: 5.989 MB / 1.534 GB, free: 10.75 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5486, allocations: 401.9 kB / 1.534 GB, free: 10.33 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000536/0.5492, allocations: 162.2 kB / 1.534 GB, free: 10.17 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.5495, allocations: 271.4 kB / 1.535 GB, free: 9.902 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/0.5495, allocations: 4 kB / 1.535 GB, free: 9.898 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/0.6221, allocations: 23.05 MB / 1.557 GB, free: 3.383 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.82, allocations: 0 / 1.557 GB, free: 3.383 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.910968362819403]