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.001217/0.001217, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001327/0.001327, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.303/1.303, allocations: 230.6 MB / 256 MB, free: 7.988 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.818/2.818, allocations: 0.49 GB / 0.7951 GB, free: 33.57 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.001832/0.001832, allocations: 65.84 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2751, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2053/0.4804, allocations: 198.2 MB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.4929, allocations: 10.18 MB / 1.529 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.4937, allocations: 39.62 kB / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.4947, allocations: 408.9 kB / 1.53 GB, free: 368 kB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.4973, allocations: 1.069 MB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.5003, allocations: 1.393 MB / 1.532 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5024, allocations: 1.702 MB / 1.534 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00091/0.5033, allocations: 0.6099 MB / 1.534 GB, free: 11.55 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.5067, allocations: 1.716 MB / 1.536 GB, free: 9.824 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.5074, allocations: 0.5446 MB / 1.537 GB, free: 9.277 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/0.5075, allocations: 64 kB / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.5099, allocations: 1.512 MB / 1.538 GB, free: 7.699 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.5102, allocations: 362.9 kB / 1.539 GB, free: 7.344 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.5107, allocations: 425.9 kB / 1.539 GB, free: 6.926 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.5127, allocations: 1.522 MB / 1.54 GB, free: 5.398 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5127, allocations: 4 kB / 1.54 GB, free: 5.395 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5127, allocations: 0 / 1.54 GB, free: 5.395 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5127, allocations: 0 / 1.54 GB, free: 5.395 MB / 1.232 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.001645/0.5143, allocations: 1.1 MB / 1.542 GB, free: 4.262 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5144, allocations: 8.031 kB / 1.542 GB, free: 4.254 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5145, allocations: 118.6 kB / 1.542 GB, free: 4.129 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.5162, allocations: 303.1 kB / 1.542 GB, free: 3.832 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5172, allocations: 0.4972 MB / 1.542 GB, free: 3.309 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.5174, allocations: 61.92 kB / 1.542 GB, free: 3.246 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.43e-05/0.5175, allocations: 72 kB / 1.543 GB, free: 3.176 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5189, allocations: 0.8947 MB / 1.543 GB, free: 2.223 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5189, allocations: 7.938 kB / 1.543 GB, free: 2.215 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.519, allocations: 35.97 kB / 1.543 GB, free: 2.18 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.519, allocations: 41.3 kB / 1.544 GB, free: 2.141 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.52, allocations: 0.5787 MB / 1.544 GB, free: 1.559 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.5239, allocations: 3.423 MB / 1.547 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.5243, allocations: 215.6 kB / 1.548 GB, free: 13.71 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.5245, allocations: 138.5 kB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.5251, allocations: 107.9 kB / 1.548 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.5251, allocations: 34.56 kB / 1.548 GB, free: 13.42 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.5251, allocations: 0 / 1.548 GB, free: 13.42 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001189/0.5263, allocations: 459 kB / 1.548 GB, free: 12.97 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.5264, allocations: 110.8 kB / 1.548 GB, free: 12.84 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.5275, allocations: 0.8683 MB / 1.549 GB, free: 11.95 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.5275, allocations: 25.7 kB / 1.549 GB, free: 11.92 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.5278, allocations: 384.2 kB / 1.55 GB, free: 11.54 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.5279, allocations: 87.38 kB / 1.55 GB, free: 11.45 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.528, allocations: 61.64 kB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5282, allocations: 318 kB / 1.55 GB, free: 11.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.5284, allocations: 99.91 kB / 1.55 GB, free: 10.97 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.5287, allocations: 215.1 kB / 1.55 GB, free: 10.72 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.5292, allocations: 312.5 kB / 1.551 GB, free: 10.38 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5292, allocations: 4 kB / 1.551 GB, free: 10.38 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007141/0.5299, allocations: 406 kB / 1.551 GB, free: 9.973 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5299, allocations: 12.33 kB / 1.551 GB, free: 9.961 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5299, allocations: 8 kB / 1.551 GB, free: 9.953 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.53, allocations: 7.938 kB / 1.551 GB, free: 9.945 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.5303, allocations: 55.91 kB / 1.551 GB, free: 9.891 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5303, allocations: 4 kB / 1.551 GB, free: 9.887 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.5307, allocations: 79.34 kB / 1.551 GB, free: 9.809 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.5308, allocations: 20 kB / 1.551 GB, free: 9.789 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.0002655/0.531, allocations: 229.6 kB / 1.552 GB, free: 9.555 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5311, allocations: 87.42 kB / 1.552 GB, free: 9.469 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.5317, allocations: 330.4 kB / 1.552 GB, free: 9.141 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5318, allocations: 4 kB / 1.552 GB, free: 9.137 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5318, allocations: 0 / 1.552 GB, free: 9.137 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5318, allocations: 7.984 kB / 1.552 GB, free: 9.129 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.5338, allocations: 1.329 MB / 1.553 GB, free: 7.695 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5338, allocations: 4 kB / 1.553 GB, free: 7.691 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.534, allocations: 43.92 kB / 1.553 GB, free: 7.648 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.534, allocations: 8.531 kB / 1.553 GB, free: 7.641 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.5341, allocations: 15.92 kB / 1.553 GB, free: 7.625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.5341, allocations: 15.88 kB / 1.553 GB, free: 7.609 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5341, allocations: 4 kB / 1.553 GB, free: 7.605 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.5348, allocations: 0.5169 MB / 1.554 GB, free: 7.02 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.535, allocations: 115.4 kB / 1.554 GB, free: 6.906 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.5351, allocations: 8 kB / 1.554 GB, free: 6.898 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.5354, allocations: 23.92 kB / 1.554 GB, free: 6.875 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5355, allocations: 27.91 kB / 1.554 GB, free: 6.848 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.5355, allocations: 11.94 kB / 1.554 GB, free: 6.836 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007708/0.5363, allocations: 0.6122 MB / 1.555 GB, free: 6.23 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5363, allocations: 0 / 1.555 GB, free: 6.23 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005756/0.5368, allocations: 163.8 kB / 1.555 GB, free: 6.07 MB / 1.248 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.001177/0.538, allocations: 1.134 MB / 1.556 GB, free: 4.855 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005392/0.5386, allocations: 256.1 kB / 1.556 GB, free: 4.605 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5386, allocations: 0 / 1.556 GB, free: 4.605 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.5388, allocations: 127.7 kB / 1.556 GB, free: 4.48 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.5405, allocations: 420.4 kB / 1.557 GB, free: 4.074 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007801/0.5483, allocations: 6.011 MB / 1.562 GB, free: 13.75 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.549, allocations: 0.9917 MB / 1.563 GB, free: 12.73 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0005055/0.5495, allocations: 154.2 kB / 1.564 GB, free: 12.57 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.5498, allocations: 275.3 kB / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of SimCode: time 5.11e-07/0.5498, allocations: 0 / 1.564 GB, free: 12.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05256/0.6024, allocations: 21.08 MB / 1.584 GB, free: 7.59 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.95, allocations: 15.34 kB / 1.584 GB, free: 7.578 MB / 1.279 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.833276168210432]