Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 197.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.42/2.42, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 66.47 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2347, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.6099/0.8447, allocations: 194.1 MB / 1.254 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008115/0.8528, allocations: 10.03 MB / 1.263 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.8532, allocations: 27.59 kB / 1.263 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.8539, allocations: 400.6 kB / 1.264 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.8557, allocations: 1.024 MB / 1.265 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.8577, allocations: 1.292 MB / 1.266 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.8588, allocations: 1.697 MB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007833/0.8596, allocations: 0.831 MB / 1.269 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.8615, allocations: 1.413 MB / 1.27 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.8619, allocations: 0.5327 MB / 1.27 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.862, allocations: 63.28 kB / 1.271 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.8637, allocations: 1.411 MB / 1.272 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.8639, allocations: 342.5 kB / 1.272 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.8643, allocations: 441 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.8658, allocations: 1.476 MB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8658, allocations: 1.625 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8658, allocations: 0.7969 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.8658, allocations: 0.8438 kB / 1.274 GB, free: 4.43 MB / 0.9981 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.00143/0.8673, allocations: 1.147 MB / 1.275 GB, free: 19.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.8673, allocations: 10.28 kB / 1.275 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.8674, allocations: 121.2 kB / 1.275 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.8689, allocations: 296.9 kB / 1.276 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.8696, allocations: 0.528 MB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.8697, allocations: 58.59 kB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.8698, allocations: 72.64 kB / 1.276 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.8709, allocations: 0.9049 MB / 1.277 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.8709, allocations: 4.375 kB / 1.277 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.871, allocations: 28.78 kB / 1.277 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.871, allocations: 41.16 kB / 1.277 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.8719, allocations: 0.5754 MB / 1.278 GB, free: 19.2 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.8752, allocations: 3.516 MB / 1.281 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.8755, allocations: 225 kB / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.8758, allocations: 145.5 kB / 1.282 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008138/0.8766, allocations: 492.6 kB / 1.282 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.8766, allocations: 37.98 kB / 1.282 GB, free: 16.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.8766, allocations: 0 / 1.282 GB, free: 16.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001061/0.8777, allocations: 454.2 kB / 1.283 GB, free: 16.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.8778, allocations: 114.1 kB / 1.283 GB, free: 16.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.8786, allocations: 0.868 MB / 1.283 GB, free: 16.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.8787, allocations: 28.45 kB / 1.283 GB, free: 16.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.8789, allocations: 385.2 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.879, allocations: 75.67 kB / 1.284 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.879, allocations: 60.12 kB / 1.284 GB, free: 15.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8792, allocations: 317.7 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.8794, allocations: 102.4 kB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.8796, allocations: 211.9 kB / 1.285 GB, free: 15.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.88, allocations: 312.7 kB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.88, allocations: 1 kB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005908/0.8806, allocations: 403.9 kB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.8806, allocations: 7.484 kB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8807, allocations: 3.562 kB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8807, allocations: 12.84 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.8809, allocations: 57.47 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.881, allocations: 5.516 kB / 1.285 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.8813, allocations: 75.97 kB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.8813, allocations: 17.75 kB / 1.285 GB, free: 15.21 MB / 1.014 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.0002223/0.8816, allocations: 237.6 kB / 1.286 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.8817, allocations: 77.8 kB / 1.286 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.8822, allocations: 325.8 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8822, allocations: 2.469 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8822, allocations: 1.188 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8823, allocations: 1.844 kB / 1.286 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.8839, allocations: 1.369 MB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8839, allocations: 3.875 kB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.8841, allocations: 45.92 kB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8841, allocations: 13.02 kB / 1.287 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.8842, allocations: 10.47 kB / 1.287 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.8842, allocations: 10.69 kB / 1.287 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8842, allocations: 9.25 kB / 1.287 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.8847, allocations: 0.511 MB / 1.288 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.8849, allocations: 189.1 kB / 1.288 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.885, allocations: 14.39 kB / 1.288 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.8853, allocations: 17.33 kB / 1.288 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.8853, allocations: 27.64 kB / 1.288 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.8854, allocations: 9.531 kB / 1.288 GB, free: 13.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005942/0.886, allocations: 0.6143 MB / 1.289 GB, free: 13.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.886, allocations: 3.062 kB / 1.289 GB, free: 13.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004679/0.8864, allocations: 158.1 kB / 1.289 GB, free: 13.84 MB / 1.014 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.001049/0.8875, allocations: 1.145 MB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.888, allocations: 264.8 kB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.888, allocations: 1.969 kB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.8882, allocations: 132.5 kB / 1.29 GB, free: 12.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.8898, allocations: 432 kB / 1.291 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.8957, allocations: 6.288 MB / 1.297 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.8963, allocations: 0.9939 MB / 1.298 GB, free: 9.688 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004612/0.8967, allocations: 160.7 kB / 1.298 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.897, allocations: 271.4 kB / 1.298 GB, free: 9.664 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.897, allocations: 0 / 1.298 GB, free: 9.664 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 30.68/31.57, allocations: 20.57 MB / 1.319 GB, free: 8.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/39.76, allocations: 5.75 kB / 1.319 GB, free: 8.035 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches