Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001044/0.001044, allocations: 94.83 kB / 15.36 MB, free: 0.7344 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.009019/0.009019, allocations: 176 kB / 16.27 MB, free: 6.684 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 12 kB / 0.8159 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7128, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003545/0.7164, allocations: 3.976 MB / 0.9589 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00412/0.7205, allocations: 2.947 MB / 0.9618 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.7212, allocations: 18.88 kB / 0.9618 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.7221, allocations: 323.7 kB / 0.9621 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.7235, allocations: 0.6028 MB / 0.9627 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.7249, allocations: 0.5497 MB / 0.9632 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.7273, allocations: 2.193 MB / 0.9654 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.7276, allocations: 156.8 kB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.7286, allocations: 0.5066 MB / 0.966 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.7298, allocations: 0.6783 MB / 0.9667 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.73, allocations: 46.34 kB / 0.9667 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008349/0.7308, allocations: 391.2 kB / 0.9671 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.7313, allocations: 421.2 kB / 0.9675 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.7319, allocations: 0.5788 MB / 0.9681 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.7338, allocations: 1.405 MB / 0.9694 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.7338, allocations: 0.9688 kB / 0.9694 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7338, allocations: 3.938 kB / 0.9694 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.115e-05/0.7338, allocations: 0 / 0.9694 GB, free: 13.33 MB / 0.7325 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.003234/0.7371, allocations: 1.462 MB / 0.9709 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7371, allocations: 13.25 kB / 0.9709 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.7374, allocations: 132.6 kB / 0.971 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.7386, allocations: 0.8146 MB / 0.9718 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.7386, allocations: 44 kB / 0.9718 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.7388, allocations: 61.38 kB / 0.9719 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009472/0.7397, allocations: 0.6232 MB / 0.9725 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.7398, allocations: 0 / 0.9725 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.7398, allocations: 16.09 kB / 0.9725 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7398, allocations: 14.06 kB / 0.9725 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.7406, allocations: 0.561 MB / 0.9731 GB, free: 10.93 MB / 0.7325 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.004438/0.7451, allocations: 3.302 MB / 0.9763 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.7465, allocations: 0.8494 MB / 0.9771 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.7469, allocations: 370.6 kB / 0.9775 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.747, allocations: 31.69 kB / 0.9775 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7471, allocations: 41.94 kB / 0.9776 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 3.967e-06/0.7471, allocations: 0 / 0.9776 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00171/0.7488, allocations: 1.18 MB / 0.9787 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7488, allocations: 67.39 kB / 0.9788 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.7504, allocations: 1.227 MB / 0.98 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.7504, allocations: 37.7 kB / 0.98 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.7508, allocations: 472.6 kB / 0.9805 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.751, allocations: 169.6 kB / 0.9806 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.7511, allocations: 121.6 kB / 0.9807 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7512, allocations: 353.9 kB / 0.9811 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.752, allocations: 0.6387 MB / 0.9817 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/0.753, allocations: 0.9786 MB / 0.9827 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.7547, allocations: 1.593 MB / 0.9842 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.7548, allocations: 4 kB / 0.9842 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002257/0.757, allocations: 1.779 MB / 0.986 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7571, allocations: 15.94 kB / 0.986 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.7571, allocations: 12.72 kB / 0.986 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.7573, allocations: 48.83 kB / 0.986 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.7585, allocations: 267.6 kB / 0.9863 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.7624, allocations: 6.729 MB / 0.9929 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7636, allocations: 142.7 kB / 0.993 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.7637, allocations: 36 kB / 0.993 GB, free: 7.328 MB / 0.7481 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 (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000462/0.7641, allocations: 297.4 kB / 0.9933 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.7643, allocations: 114.5 kB / 0.9934 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.7656, allocations: 0.8607 MB / 0.9943 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7656, allocations: 4 kB / 0.9943 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7656, allocations: 4 kB / 0.9943 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7656, allocations: 0 / 0.9943 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.7667, allocations: 0.9074 MB / 0.9952 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7667, allocations: 0 / 0.9952 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.7673, allocations: 115.8 kB / 0.9953 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.7674, allocations: 40.77 kB / 0.9953 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.7675, allocations: 12 kB / 0.9953 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000956/0.7684, allocations: 1.338 MB / 0.9966 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7685, allocations: 0 / 0.9966 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.7701, allocations: 1.374 MB / 0.998 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.7705, allocations: 271.4 kB / 0.9982 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.7707, allocations: 12 kB / 0.9982 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.7713, allocations: 35.95 kB / 0.9983 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.7714, allocations: 35.89 kB / 0.9983 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.7714, allocations: 8 kB / 0.9983 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001114/0.7725, allocations: 0.8194 MB / 0.9991 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7725, allocations: 0 / 0.9991 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001122/0.7737, allocations: 371.5 kB / 0.9995 GB, free: 496 kB / 0.7481 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005757/0.7742, allocations: 267 kB / 0.9997 GB, free: 220 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.7767, allocations: 1.515 MB / 1.001 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7768, allocations: 0.625 kB / 1.001 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.7773, allocations: 482.3 kB / 1.002 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.7785, allocations: 220.6 kB / 1.002 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.7827, allocations: 3.057 MB / 1.005 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/0.7836, allocations: 1.102 MB / 1.006 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006778/0.7842, allocations: 207.1 kB / 1.006 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.7845, allocations: 67.44 kB / 1.006 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/0.7845, allocations: 0 / 1.006 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of Templates: time 0.02681/0.8113, allocations: 13.63 MB / 1.02 GB, free: 12.02 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches