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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 179.5 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 95.83 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.71e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3006, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8876/1.188, allocations: 159 MB / 1.368 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.189, allocations: 76.17 kB / 1.368 GB, free: 17.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09253/1.281, allocations: 28.49 MB / 1.395 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.425e-06/1.281, allocations: 0 / 1.395 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.576e-05/1.281, allocations: 23.09 kB / 1.396 GB, free: 25.7 MB / 0.8386 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.001853/1.283, allocations: 1.184 MB / 1.397 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.283, allocations: 11.16 kB / 1.397 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/1.283, allocations: 139.8 kB / 1.397 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/1.286, allocations: 1.544 MB / 1.398 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.286, allocations: 15.34 kB / 1.398 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/1.286, allocations: 41.92 kB / 1.398 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007431/1.287, allocations: 0.5837 MB / 1.399 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/1.288, allocations: 0.5965 MB / 1.4 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.288, allocations: 0 / 1.4 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/1.288, allocations: 0 / 1.4 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.288, allocations: 15.3 kB / 1.4 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/1.291, allocations: 2.659 MB / 1.402 GB, free: 22.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.293, allocations: 0.8929 MB / 1.403 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/1.293, allocations: 373.9 kB / 1.403 GB, free: 21.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/1.293, allocations: 24.34 kB / 1.403 GB, free: 21.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.293, allocations: 38.25 kB / 1.403 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/1.293, allocations: 0.75 kB / 1.403 GB, free: 21.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.001198/1.294, allocations: 0.8515 MB / 1.404 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/1.294, allocations: 59.39 kB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.295, allocations: 0.9698 MB / 1.405 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/1.295, allocations: 25.7 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/1.296, allocations: 463.2 kB / 1.406 GB, free: 19.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.296, allocations: 169.2 kB / 1.406 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/1.296, allocations: 0 / 1.406 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.296, allocations: 358.1 kB / 1.406 GB, free: 18.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/1.297, allocations: 0.5133 MB / 1.407 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/1.297, allocations: 0.8374 MB / 1.408 GB, free: 17.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.298, allocations: 0.7156 MB / 1.408 GB, free: 17.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.298, allocations: 4 kB / 1.408 GB, free: 17.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002075/1.3, allocations: 1.574 MB / 1.41 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.3, allocations: 9.25 kB / 1.41 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/1.3, allocations: 15.98 kB / 1.41 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/1.301, allocations: 45.34 kB / 1.41 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/1.302, allocations: 362.9 kB / 1.41 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.306, allocations: 6.896 MB / 1.417 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.308, allocations: 138.8 kB / 1.417 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.308, allocations: 63.86 kB / 1.417 GB, free: 8.633 MB / 0.8386 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 () * 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.0001959/1.308, allocations: 128.2 kB / 1.417 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/1.308, allocations: 106.6 kB / 1.417 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/1.31, allocations: 0.9778 MB / 1.418 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/1.31, allocations: 12 kB / 1.418 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.31, allocations: 0 / 1.418 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.31, allocations: 0 / 1.418 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.311, allocations: 0.8896 MB / 1.419 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/1.311, allocations: 4 kB / 1.419 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/1.312, allocations: 119.5 kB / 1.419 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.876e-05/1.312, allocations: 28.34 kB / 1.419 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.312, allocations: 19.48 kB / 1.419 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009203/1.313, allocations: 1.307 MB / 1.421 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.313, allocations: 8.141 kB / 1.421 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/1.315, allocations: 1.459 MB / 1.422 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/1.315, allocations: 380.3 kB / 1.422 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.316, allocations: 11.31 kB / 1.422 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/1.316, allocations: 43.83 kB / 1.422 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/1.316, allocations: 39.69 kB / 1.423 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/1.316, allocations: 39.48 kB / 1.423 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008444/1.317, allocations: 0.7052 MB / 1.423 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.317, allocations: 0 / 1.423 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001152/1.318, allocations: 354 kB / 1.424 GB, free: 2.887 MB / 0.8386 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 () * 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.0004917/1.319, allocations: 282.5 kB / 1.424 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001989/1.321, allocations: 1.444 MB / 1.425 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.321, allocations: 4 kB / 1.425 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004624/1.321, allocations: 455.8 kB / 1.426 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/1.322, allocations: 208.8 kB / 1.426 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/1.325, allocations: 2.103 MB / 1.428 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/1.326, allocations: 1.126 MB / 1.429 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005309/1.326, allocations: 207.3 kB / 1.429 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.327, allocations: 71.36 kB / 1.429 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/1.327, allocations: 0 / 1.429 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.02072/1.347, allocations: 12.33 MB / 1.441 GB, free: 1.5 MB / 0.8542 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