Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001105/0.001105, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00109/0.00109, allocations: 177.3 kB / 15.95 MB, free: 216 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.595/2.595, allocations: 436.5 MB / 0.7104 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 8 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6812, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004398/0.6857, allocations: 3.504 MB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.69, allocations: 2.814 MB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.6906, allocations: 15.88 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.6918, allocations: 410.3 kB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.6931, allocations: 0.5025 MB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.6944, allocations: 0.5135 MB / 1.028 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.6962, allocations: 1.053 MB / 1.029 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.6966, allocations: 148.5 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.6975, allocations: 450.5 kB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.6983, allocations: 490.1 kB / 1.03 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.6985, allocations: 36 kB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.6992, allocations: 295.6 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.6996, allocations: 386.9 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.7, allocations: 241 kB / 1.031 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.7011, allocations: 1.033 MB / 1.032 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.7011, allocations: 4 kB / 1.032 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7011, allocations: 0 / 1.032 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.63e-05/0.7012, allocations: 3.938 kB / 1.032 GB, free: 5.227 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.002809/0.704, allocations: 1.451 MB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.704, allocations: 15.98 kB / 1.034 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.7044, allocations: 138.3 kB / 1.034 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.7057, allocations: 0.7292 MB / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.7057, allocations: 41 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7059, allocations: 64 kB / 1.035 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.7067, allocations: 0.6059 MB / 1.035 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7067, allocations: 0 / 1.035 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.7068, allocations: 19.94 kB / 1.035 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.7068, allocations: 16 kB / 1.035 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.7075, allocations: 0.5621 MB / 1.036 GB, free: 1.469 MB / 0.7794 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.004305/0.7118, allocations: 3.263 MB / 1.039 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.7131, allocations: 0.8592 MB / 1.04 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.7132, allocations: 24.36 kB / 1.04 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.7132, allocations: 38.94 kB / 1.04 GB, free: 13.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 1.803e-06/0.7132, allocations: 0 / 1.04 GB, free: 13.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001613/0.7148, allocations: 1.184 MB / 1.041 GB, free: 11.81 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.7149, allocations: 59.41 kB / 1.041 GB, free: 11.74 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.7163, allocations: 1.18 MB / 1.042 GB, free: 10.55 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.7164, allocations: 41.7 kB / 1.042 GB, free: 10.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.7167, allocations: 468.7 kB / 1.043 GB, free: 10.04 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.7168, allocations: 165.6 kB / 1.043 GB, free: 9.871 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.7169, allocations: 16 kB / 1.043 GB, free: 9.855 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.717, allocations: 353.9 kB / 1.043 GB, free: 9.504 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/0.7177, allocations: 0.6387 MB / 1.044 GB, free: 8.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.7186, allocations: 0.963 MB / 1.045 GB, free: 7.754 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.7195, allocations: 0.7482 MB / 1.046 GB, free: 7.008 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.7195, allocations: 4 kB / 1.046 GB, free: 7.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002165/0.7217, allocations: 1.783 MB / 1.047 GB, free: 5.211 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7217, allocations: 12 kB / 1.047 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.7217, allocations: 15.94 kB / 1.047 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.7219, allocations: 45.41 kB / 1.047 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.7231, allocations: 267.6 kB / 1.048 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/0.7265, allocations: 6.737 MB / 1.054 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/0.7275, allocations: 138.9 kB / 1.054 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.7276, allocations: 44 kB / 1.054 GB, free: 13.64 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.0004029/0.728, allocations: 301.4 kB / 1.055 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.7282, allocations: 114.5 kB / 1.055 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.7293, allocations: 0.8491 MB / 1.056 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7294, allocations: 4 kB / 1.056 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7294, allocations: 0 / 1.056 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.7294, allocations: 4 kB / 1.056 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.7305, allocations: 0.8957 MB / 1.057 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.7305, allocations: 3.953 kB / 1.057 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.731, allocations: 111.9 kB / 1.057 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.7311, allocations: 32.83 kB / 1.057 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.7312, allocations: 16 kB / 1.057 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008763/0.7321, allocations: 1.35 MB / 1.058 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7321, allocations: 0 / 1.058 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.7336, allocations: 1.374 MB / 1.059 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/0.7341, allocations: 259.4 kB / 1.06 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.7342, allocations: 16 kB / 1.06 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.7348, allocations: 35.95 kB / 1.06 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.7349, allocations: 19.97 kB / 1.06 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.7349, allocations: 15.98 kB / 1.06 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001019/0.736, allocations: 0.7764 MB / 1.06 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.736, allocations: 0 / 1.06 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001034/0.737, allocations: 371.6 kB / 1.061 GB, free: 6.867 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.0004062/0.7374, allocations: 197 kB / 1.061 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002361/0.7398, allocations: 1.502 MB / 1.062 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7398, allocations: 0 / 1.062 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.7404, allocations: 479.3 kB / 1.063 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.7413, allocations: 206.1 kB / 1.063 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.7449, allocations: 2.957 MB / 1.066 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.7455, allocations: 1.129 MB / 1.067 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005113/0.7461, allocations: 190.3 kB / 1.067 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.7463, allocations: 59.44 kB / 1.067 GB, free: 76 kB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.7463, allocations: 0 / 1.067 GB, free: 76 kB / 0.8106 GB Notification: Performance of Templates: time 0.02135/0.7676, allocations: 12.64 MB / 1.08 GB, free: 3.578 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches