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.0007998/0.0007998, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000773/0.000773, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8282/0.8282, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.65/1.65, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.763e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.5552/0.5552, allocations: 171.6 MB / 1.149 GB, free: 13.2 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00986/0.5651, allocations: 9.203 MB / 1.158 GB, free: 6.98 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009812/0.5661, allocations: 42.28 kB / 1.158 GB, free: 6.957 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.567, allocations: 414.9 kB / 1.158 GB, free: 6.691 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.5696, allocations: 1.063 MB / 1.159 GB, free: 6.105 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.5725, allocations: 1.397 MB / 1.16 GB, free: 5.426 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5747, allocations: 1.685 MB / 1.162 GB, free: 4.645 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.5757, allocations: 0.6 MB / 1.163 GB, free: 4.359 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5791, allocations: 1.926 MB / 1.164 GB, free: 3.5 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005555/0.5797, allocations: 466.8 kB / 1.165 GB, free: 3.355 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.5798, allocations: 61.78 kB / 1.165 GB, free: 3.355 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.5819, allocations: 1.163 MB / 1.166 GB, free: 2.922 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.5823, allocations: 372.3 kB / 1.166 GB, free: 2.766 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.5826, allocations: 295.8 kB / 1.167 GB, free: 2.652 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.5848, allocations: 1.508 MB / 1.168 GB, free: 2.141 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5848, allocations: 1.156 kB / 1.168 GB, free: 2.141 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5848, allocations: 0 / 1.168 GB, free: 2.141 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5849, allocations: 4 kB / 1.168 GB, free: 2.137 MB / 1.01 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.001241/0.5861, allocations: 1.085 MB / 1.169 GB, free: 1.383 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5861, allocations: 9.156 kB / 1.169 GB, free: 1.383 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.5862, allocations: 129 kB / 1.169 GB, free: 1.293 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/0.5872, allocations: 297.5 kB / 1.17 GB, free: 1.219 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007359/0.588, allocations: 0.5109 MB / 1.17 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.588, allocations: 52.62 kB / 1.17 GB, free: 0.875 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.5881, allocations: 77.39 kB / 1.17 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5891, allocations: 0.8989 MB / 1.171 GB, free: 420 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.5891, allocations: 1.219 kB / 1.171 GB, free: 420 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.5892, allocations: 31.39 kB / 1.171 GB, free: 396 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.5892, allocations: 44.39 kB / 1.171 GB, free: 388 kB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.5902, allocations: 0.5739 MB / 1.172 GB, free: 204 kB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.5927, allocations: 2.979 MB / 1.175 GB, free: 14 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.5929, allocations: 211.7 kB / 1.175 GB, free: 13.88 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.5931, allocations: 147.4 kB / 1.175 GB, free: 13.82 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.5934, allocations: 111.6 kB / 1.175 GB, free: 13.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5935, allocations: 32.88 kB / 1.175 GB, free: 13.76 MB / 1.026 GB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.5935, allocations: 1.312 kB / 1.175 GB, free: 13.76 MB / 1.026 GB Notification: Performance of matching and sorting (n=21): time 0.0007357/0.5942, allocations: 449.8 kB / 1.176 GB, free: 13.61 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5942, allocations: 111.5 kB / 1.176 GB, free: 13.48 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007694/0.595, allocations: 0.8686 MB / 1.177 GB, free: 13.14 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.595, allocations: 30.86 kB / 1.177 GB, free: 13.11 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.5952, allocations: 388 kB / 1.177 GB, free: 12.8 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.5953, allocations: 80.03 kB / 1.177 GB, free: 12.74 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.5954, allocations: 59.55 kB / 1.177 GB, free: 12.7 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.5954, allocations: 319.5 kB / 1.177 GB, free: 12.39 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5956, allocations: 105.5 kB / 1.178 GB, free: 12.36 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.5958, allocations: 347.8 kB / 1.178 GB, free: 12.06 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.5961, allocations: 312.9 kB / 1.178 GB, free: 11.87 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5961, allocations: 1.125 kB / 1.178 GB, free: 11.87 MB / 1.026 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004525/0.5966, allocations: 402.8 kB / 1.179 GB, free: 11.71 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5966, allocations: 10.5 kB / 1.179 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5966, allocations: 6.75 kB / 1.179 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5966, allocations: 5.5 kB / 1.179 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5968, allocations: 58.2 kB / 1.179 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5968, allocations: 7.688 kB / 1.179 GB, free: 11.69 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.597, allocations: 91.84 kB / 1.179 GB, free: 11.63 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5971, allocations: 16.94 kB / 1.179 GB, free: 11.63 MB / 1.026 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.0002012/0.5973, allocations: 228.9 kB / 1.179 GB, free: 11.47 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.5974, allocations: 81.64 kB / 1.179 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.5977, allocations: 327.1 kB / 1.179 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.5977, allocations: 4.188 kB / 1.179 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5977, allocations: 1.281 kB / 1.179 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.5977, allocations: 6.141 kB / 1.179 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.599, allocations: 1.284 MB / 1.181 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.599, allocations: 4.188 kB / 1.181 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.5991, allocations: 44.83 kB / 1.181 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5991, allocations: 4.875 kB / 1.181 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.5991, allocations: 16.56 kB / 1.181 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5991, allocations: 8.391 kB / 1.181 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5991, allocations: 8.125 kB / 1.181 GB, free: 10.45 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.5995, allocations: 0.5073 MB / 1.181 GB, free: 10.08 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.5996, allocations: 111.6 kB / 1.181 GB, free: 10.02 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.5997, allocations: 14.7 kB / 1.181 GB, free: 10.01 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5999, allocations: 19.17 kB / 1.181 GB, free: 10 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.5999, allocations: 30.92 kB / 1.181 GB, free: 9.992 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.5999, allocations: 10.19 kB / 1.181 GB, free: 9.992 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005158/0.6004, allocations: 0.6109 MB / 1.182 GB, free: 9.754 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6004, allocations: 0 / 1.182 GB, free: 9.754 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000438/0.6009, allocations: 165.7 kB / 1.182 GB, free: 9.727 MB / 1.026 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.0007779/0.6017, allocations: 1.128 MB / 1.183 GB, free: 8.785 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006315/0.6023, allocations: 255.8 kB / 1.183 GB, free: 8.715 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6023, allocations: 0.6875 kB / 1.183 GB, free: 8.715 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.6024, allocations: 136.3 kB / 1.184 GB, free: 8.668 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6035, allocations: 418 kB / 1.184 GB, free: 8.562 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.6094, allocations: 6.011 MB / 1.19 GB, free: 5.383 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.6097, allocations: 399.5 kB / 1.19 GB, free: 5.258 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.6102, allocations: 161.8 kB / 1.19 GB, free: 5.223 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.6104, allocations: 277.1 kB / 1.191 GB, free: 5.016 MB / 1.026 GB Notification: Performance of SimCode: time 8.41e-07/0.6104, allocations: 4 kB / 1.191 GB, free: 5.012 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.642, allocations: 23.06 MB / 1.213 GB, free: 11.02 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.38, allocations: 14.72 kB / 1.213 GB, free: 11.01 MB / 1.042 GB " [Timeout remaining time 293] (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/jenkins/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: 11.197192734107375]