Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007608/0.007609, allocations: 96.97 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3237, allocations: 151.6 MB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.9251/1.249, allocations: 194.1 MB / 1.356 GB, free: 160 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01278/1.262, allocations: 10.04 MB / 1.366 GB, free: 8.941 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/1.263, allocations: 30.09 kB / 1.366 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/1.264, allocations: 402.3 kB / 1.366 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/1.268, allocations: 1.02 MB / 1.367 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003667/1.271, allocations: 1.296 MB / 1.369 GB, free: 7.465 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002772/1.274, allocations: 1.695 MB / 1.37 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/1.276, allocations: 0.8284 MB / 1.371 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/1.28, allocations: 1.432 MB / 1.373 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/1.281, allocations: 0.5258 MB / 1.373 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/1.281, allocations: 61.56 kB / 1.373 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/1.284, allocations: 1.412 MB / 1.374 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/1.285, allocations: 348 kB / 1.375 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005116/1.285, allocations: 441 kB / 1.375 GB, free: 3.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/1.288, allocations: 1.514 MB / 1.377 GB, free: 2.836 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.288, allocations: 0 / 1.377 GB, free: 2.836 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.487e-06/1.288, allocations: 0 / 1.377 GB, free: 2.836 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.269e-05/1.288, allocations: 0 / 1.377 GB, free: 2.836 MB / 1.045 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.00187/1.29, allocations: 1.168 MB / 1.378 GB, free: 1.898 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.29, allocations: 9.625 kB / 1.378 GB, free: 1.898 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/1.292, allocations: 297.2 kB / 1.378 GB, free: 1.762 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/1.293, allocations: 0.5823 MB / 1.379 GB, free: 1.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/1.293, allocations: 55.66 kB / 1.379 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/1.293, allocations: 72.95 kB / 1.379 GB, free: 1.234 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.295, allocations: 0.8964 MB / 1.38 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/1.295, allocations: 5.375 kB / 1.38 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/1.295, allocations: 28.56 kB / 1.38 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.295, allocations: 39.7 kB / 1.38 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/1.296, allocations: 0.5716 MB / 1.38 GB, free: 348 kB / 1.045 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.003455/1.299, allocations: 3.505 MB / 1.384 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/1.3, allocations: 222 kB / 1.384 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/1.3, allocations: 148.5 kB / 1.384 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/1.301, allocations: 483.9 kB / 1.385 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.301, allocations: 41.03 kB / 1.385 GB, free: 12.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/1.301, allocations: 0 / 1.385 GB, free: 12.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.001226/1.302, allocations: 454.6 kB / 1.385 GB, free: 12.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.302, allocations: 110.2 kB / 1.385 GB, free: 12.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/1.303, allocations: 0.8669 MB / 1.386 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.303, allocations: 32.61 kB / 1.386 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/1.304, allocations: 388.3 kB / 1.386 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/1.304, allocations: 84.75 kB / 1.386 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.304, allocations: 55.61 kB / 1.387 GB, free: 11.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.304, allocations: 316.1 kB / 1.387 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/1.304, allocations: 100.7 kB / 1.387 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/1.304, allocations: 217.2 kB / 1.387 GB, free: 10.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/1.305, allocations: 315.9 kB / 1.387 GB, free: 10.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.305, allocations: 3.938 kB / 1.387 GB, free: 10.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007788/1.306, allocations: 397.1 kB / 1.388 GB, free: 10.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.306, allocations: 5.375 kB / 1.388 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.306, allocations: 8.812 kB / 1.388 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.306, allocations: 6.75 kB / 1.388 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/1.306, allocations: 63.69 kB / 1.388 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/1.306, allocations: 12.22 kB / 1.388 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/1.307, allocations: 78.41 kB / 1.388 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.307, allocations: 20.14 kB / 1.388 GB, free: 10.12 MB / 1.061 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.0003419/1.307, allocations: 229.2 kB / 1.388 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/1.307, allocations: 81.14 kB / 1.388 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/1.308, allocations: 322.3 kB / 1.389 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.308, allocations: 6.562 kB / 1.389 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.308, allocations: 2.25 kB / 1.389 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.308, allocations: 0 / 1.389 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/1.31, allocations: 1.374 MB / 1.39 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/1.31, allocations: 8.781 kB / 1.39 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/1.311, allocations: 41.02 kB / 1.39 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/1.311, allocations: 9.391 kB / 1.39 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/1.311, allocations: 15.5 kB / 1.39 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/1.311, allocations: 8.656 kB / 1.39 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.311, allocations: 13.27 kB / 1.39 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007856/1.311, allocations: 0.5149 MB / 1.391 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.312, allocations: 190.2 kB / 1.391 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/1.312, allocations: 9.438 kB / 1.391 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/1.312, allocations: 17.23 kB / 1.391 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/1.312, allocations: 33.53 kB / 1.391 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/1.312, allocations: 14.12 kB / 1.391 GB, free: 7.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009007/1.313, allocations: 0.613 MB / 1.391 GB, free: 7.605 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.11e-07/1.313, allocations: 0 / 1.391 GB, free: 7.605 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007371/1.314, allocations: 160.3 kB / 1.392 GB, free: 7.582 MB / 1.061 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.0006027/1.315, allocations: 197.8 kB / 1.392 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006698/1.315, allocations: 262.3 kB / 1.392 GB, free: 7.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.315, allocations: 4.125 kB / 1.392 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/1.316, allocations: 130.3 kB / 1.392 GB, free: 7.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.318, allocations: 417.2 kB / 1.393 GB, free: 7.062 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/1.32, allocations: 1.266 MB / 1.394 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.32, allocations: 0.9876 MB / 1.395 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005308/1.321, allocations: 176.9 kB / 1.395 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/1.321, allocations: 47.69 kB / 1.395 GB, free: 5.266 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/1.321, allocations: 0 / 1.395 GB, free: 5.266 MB / 1.061 GB Notification: Performance of Templates: time 0.0237/1.345, allocations: 13.77 MB / 1.408 GB, free: 12.43 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches