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.433/2.433, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001318/0.001318, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.000934/0.000934, allocations: 95.28 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.197e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3169, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.362, allocations: 159.7 MB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.362, allocations: 77.59 kB / 1.375 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1042/1.466, allocations: 28.99 MB / 1.403 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.003e-06/1.466, allocations: 0 / 1.403 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.327e-05/1.466, allocations: 23.94 kB / 1.403 GB, free: 1.129 MB / 0.8542 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.002306/1.468, allocations: 1.191 MB / 1.404 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.469, allocations: 8.031 kB / 1.404 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/1.469, allocations: 134.3 kB / 1.404 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/1.472, allocations: 1.54 MB / 1.406 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/1.472, allocations: 41.44 kB / 1.406 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.472, allocations: 72.62 kB / 1.406 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.473, allocations: 0.6493 MB / 1.407 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.473, allocations: 3.984 kB / 1.407 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/1.473, allocations: 18.62 kB / 1.407 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/1.473, allocations: 12 kB / 1.407 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/1.474, allocations: 0.6094 MB / 1.407 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/1.479, allocations: 2.752 MB / 1.41 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/1.481, allocations: 0.9108 MB / 1.411 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/1.482, allocations: 384 kB / 1.411 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/1.482, allocations: 27.47 kB / 1.411 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.482, allocations: 42.38 kB / 1.411 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 4.028e-06/1.482, allocations: 0 / 1.411 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.00168/1.483, allocations: 0.8716 MB / 1.412 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/1.483, allocations: 55.41 kB / 1.412 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.485, allocations: 1.029 MB / 1.413 GB, free: 8.539 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/1.485, allocations: 48.27 kB / 1.413 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/1.485, allocations: 468.4 kB / 1.414 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/1.486, allocations: 168.4 kB / 1.414 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/1.486, allocations: 18.69 kB / 1.414 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.486, allocations: 350.5 kB / 1.414 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007157/1.486, allocations: 0.532 MB / 1.415 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009284/1.487, allocations: 0.8577 MB / 1.416 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/1.488, allocations: 0.646 MB / 1.416 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.488, allocations: 4 kB / 1.416 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002277/1.491, allocations: 1.573 MB / 1.418 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/1.491, allocations: 8 kB / 1.418 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/1.491, allocations: 12 kB / 1.418 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.491, allocations: 43.77 kB / 1.418 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.492, allocations: 361.8 kB / 1.418 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/1.497, allocations: 6.825 MB / 1.425 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.499, allocations: 155.9 kB / 1.425 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.499, allocations: 59.5 kB / 1.425 GB, free: 13.57 MB / 0.8855 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.0002828/1.5, allocations: 163 kB / 1.425 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/1.5, allocations: 114.5 kB / 1.425 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.502, allocations: 0.9973 MB / 1.426 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.502, allocations: 4 kB / 1.426 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.502, allocations: 0 / 1.426 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.502, allocations: 0 / 1.426 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/1.504, allocations: 0.9648 MB / 1.427 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.504, allocations: 0 / 1.427 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/1.504, allocations: 127.5 kB / 1.427 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/1.505, allocations: 24.47 kB / 1.427 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-05/1.505, allocations: 22.3 kB / 1.427 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/1.506, allocations: 1.34 MB / 1.429 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.506, allocations: 0 / 1.429 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/1.508, allocations: 1.494 MB / 1.43 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007257/1.509, allocations: 375.8 kB / 1.43 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.509, allocations: 14.73 kB / 1.431 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/1.51, allocations: 47.06 kB / 1.431 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.51, allocations: 35.52 kB / 1.431 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/1.51, allocations: 39.61 kB / 1.431 GB, free: 8.527 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001148/1.511, allocations: 0.7627 MB / 1.431 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/1.511, allocations: 11.88 kB / 1.431 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001357/1.513, allocations: 379.5 kB / 1.432 GB, free: 7.551 MB / 0.8855 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.0005775/1.513, allocations: 285.9 kB / 1.432 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.516, allocations: 1.502 MB / 1.433 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.516, allocations: 0 / 1.433 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/1.516, allocations: 478.1 kB / 1.434 GB, free: 5.262 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/1.517, allocations: 210.8 kB / 1.434 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/1.52, allocations: 2.106 MB / 1.436 GB, free: 2.926 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/1.521, allocations: 1.129 MB / 1.437 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006657/1.522, allocations: 211.2 kB / 1.438 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.522, allocations: 71.42 kB / 1.438 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/1.522, allocations: 0 / 1.438 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of Templates: time 0.02772/1.55, allocations: 14.74 MB / 1.452 GB, free: 2.898 MB / 0.9011 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