Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 90.59 kB / 15.06 MB, free: 1.094 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.002028/0.002029, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003958, allocations: 11.94 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.848, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004408/0.8525, allocations: 3.78 MB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005126/0.8576, allocations: 2.8 MB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.8583, allocations: 15.88 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.8592, allocations: 306.3 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.8605, allocations: 0.5677 MB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.8621, allocations: 0.499 MB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.8648, allocations: 1.772 MB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.8652, allocations: 148.4 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.8664, allocations: 0.5254 MB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.8674, allocations: 0.6579 MB / 1.033 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.8676, allocations: 44 kB / 1.033 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.8684, allocations: 307.6 kB / 1.034 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005631/0.8689, allocations: 426.7 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.8693, allocations: 233.1 kB / 1.034 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.8705, allocations: 1.064 MB / 1.035 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.8705, allocations: 7.938 kB / 1.035 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8705, allocations: 4 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.8705, allocations: 0 / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003094/0.8737, allocations: 1.472 MB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/0.8737, allocations: 12.56 kB / 1.037 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.874, allocations: 130.4 kB / 1.037 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.8754, allocations: 0.7721 MB / 1.038 GB, free: 408 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.8754, allocations: 41 kB / 1.038 GB, free: 364 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.8756, allocations: 63.91 kB / 1.038 GB, free: 300 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.8765, allocations: 0.6139 MB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8765, allocations: 0 / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.8766, allocations: 19.98 kB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.8766, allocations: 19.94 kB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.8774, allocations: 0.5582 MB / 1.039 GB, free: 15.05 MB / 0.795 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.004495/0.8819, allocations: 3.302 MB / 1.042 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.8833, allocations: 0.84 MB / 1.043 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.8837, allocations: 365.4 kB / 1.043 GB, free: 10.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.64e-05/0.8838, allocations: 24.34 kB / 1.043 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.8839, allocations: 38.88 kB / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.8839, allocations: 0 / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001863/0.8857, allocations: 1.194 MB / 1.044 GB, free: 9.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.8858, allocations: 55.41 kB / 1.044 GB, free: 8.941 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.8874, allocations: 1.216 MB / 1.046 GB, free: 7.715 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.8875, allocations: 41.7 kB / 1.046 GB, free: 7.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.8879, allocations: 460.7 kB / 1.046 GB, free: 7.211 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.888, allocations: 173.5 kB / 1.046 GB, free: 7.039 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.8881, allocations: 20 kB / 1.046 GB, free: 7.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8882, allocations: 353.9 kB / 1.047 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.8891, allocations: 0.6425 MB / 1.047 GB, free: 6.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.8901, allocations: 0.9708 MB / 1.048 GB, free: 4.918 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.8911, allocations: 0.7443 MB / 1.049 GB, free: 4.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.8911, allocations: 4 kB / 1.049 GB, free: 4.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002411/0.8935, allocations: 1.783 MB / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.8936, allocations: 8 kB / 1.051 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.8936, allocations: 15.94 kB / 1.051 GB, free: 2.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.8939, allocations: 49.17 kB / 1.051 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.895, allocations: 279.6 kB / 1.051 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.8997, allocations: 6.733 MB / 1.058 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9007, allocations: 134.9 kB / 1.058 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/0.9008, allocations: 44 kB / 1.058 GB, free: 10.79 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005094/0.9013, allocations: 305.4 kB / 1.058 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.9016, allocations: 114.5 kB / 1.058 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.903, allocations: 0.8426 MB / 1.059 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.903, allocations: 4 kB / 1.059 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.903, allocations: 0 / 1.059 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.903, allocations: 3.984 kB / 1.059 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9043, allocations: 0.919 MB / 1.06 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.9044, allocations: 0 / 1.06 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.9049, allocations: 111.9 kB / 1.06 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.905, allocations: 36.83 kB / 1.06 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.9051, allocations: 15.98 kB / 1.06 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.9061, allocations: 1.331 MB / 1.061 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9061, allocations: 0 / 1.061 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9079, allocations: 1.377 MB / 1.063 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.9084, allocations: 267.5 kB / 1.063 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.9086, allocations: 12 kB / 1.063 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.9092, allocations: 35.89 kB / 1.063 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.9092, allocations: 23.97 kB / 1.063 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.9093, allocations: 16 kB / 1.063 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001233/0.9105, allocations: 0.8154 MB / 1.064 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9105, allocations: 0 / 1.064 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001246/0.9118, allocations: 363.7 kB / 1.064 GB, free: 3.977 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004809/0.9123, allocations: 198.3 kB / 1.064 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.9149, allocations: 1.51 MB / 1.066 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9149, allocations: 3.938 kB / 1.066 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.9155, allocations: 482.5 kB / 1.066 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9167, allocations: 222.9 kB / 1.067 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.9209, allocations: 2.948 MB / 1.069 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.9218, allocations: 1.106 MB / 1.071 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0006624/0.9225, allocations: 199.1 kB / 1.071 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.9227, allocations: 67.38 kB / 1.071 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of SimCode: time 1.012e-06/0.9227, allocations: 0 / 1.071 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of Templates: time 0.0286/0.9513, allocations: 13.2 MB / 1.084 GB, free: 124 kB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches