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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001644/0.001645, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.00138, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7402, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006451/0.7467, allocations: 4.369 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.752, allocations: 2.946 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.7527, allocations: 19.88 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.7538, allocations: 318.3 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.755, allocations: 0.6009 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.7565, allocations: 0.5771 MB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.7585, allocations: 1.883 MB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.7588, allocations: 181.8 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008015/0.7596, allocations: 0.5955 MB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.7604, allocations: 0.7123 MB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.7606, allocations: 76 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.7612, allocations: 403.4 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.7616, allocations: 458.6 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.7622, allocations: 0.6023 MB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.7635, allocations: 1.46 MB / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7635, allocations: 0 / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7635, allocations: 0 / 1.032 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.7635, allocations: 0 / 1.032 GB, free: 3.496 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.002895/0.7664, allocations: 1.62 MB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7665, allocations: 15.98 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.7667, allocations: 139.2 kB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.768, allocations: 0.8154 MB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.768, allocations: 41.38 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7681, allocations: 68.22 kB / 1.034 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008596/0.769, allocations: 0.614 MB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.769, allocations: 0 / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.7691, allocations: 16 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.7691, allocations: 12 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.7699, allocations: 0.5621 MB / 1.035 GB, free: 15.47 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.004706/0.7746, allocations: 3.278 MB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.776, allocations: 0.8517 MB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.7765, allocations: 363.5 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/0.7766, allocations: 28.28 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.7766, allocations: 38.94 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.475e-06/0.7766, allocations: 0 / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001733/0.7783, allocations: 1.186 MB / 1.041 GB, free: 9.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.7784, allocations: 59.41 kB / 1.041 GB, free: 9.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.78, allocations: 1.227 MB / 1.042 GB, free: 8.133 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.78, allocations: 41.7 kB / 1.042 GB, free: 8.086 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.7804, allocations: 456.7 kB / 1.043 GB, free: 7.633 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.7805, allocations: 177.5 kB / 1.043 GB, free: 7.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.7808, allocations: 210.5 kB / 1.043 GB, free: 7.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7809, allocations: 357.9 kB / 1.043 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000773/0.7817, allocations: 0.6387 MB / 1.044 GB, free: 6.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.7827, allocations: 0.9747 MB / 1.045 GB, free: 5.137 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7845, allocations: 1.586 MB / 1.047 GB, free: 3.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.7845, allocations: 4 kB / 1.047 GB, free: 3.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002361/0.7869, allocations: 1.783 MB / 1.048 GB, free: 1.609 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.7869, allocations: 10.5 kB / 1.048 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.787, allocations: 16.72 kB / 1.048 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.7872, allocations: 48.83 kB / 1.048 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.7884, allocations: 267.6 kB / 1.049 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.7926, allocations: 6.832 MB / 1.055 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7937, allocations: 130.6 kB / 1.055 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.7938, allocations: 40 kB / 1.055 GB, free: 9.949 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 (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.0004678/0.7943, allocations: 306 kB / 1.056 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.7945, allocations: 114.5 kB / 1.056 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.7958, allocations: 0.8465 MB / 1.057 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7958, allocations: 4 kB / 1.057 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.7958, allocations: 4 kB / 1.057 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7959, allocations: 3.984 kB / 1.057 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.7971, allocations: 0.9113 MB / 1.058 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.7971, allocations: 0 / 1.058 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.7976, allocations: 111.9 kB / 1.058 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.7978, allocations: 32.83 kB / 1.058 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.7978, allocations: 19.98 kB / 1.058 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.7988, allocations: 1.437 MB / 1.059 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7989, allocations: 8.094 kB / 1.059 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.8006, allocations: 1.358 MB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.8012, allocations: 271.4 kB / 1.061 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.8014, allocations: 15.94 kB / 1.061 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.8021, allocations: 35.95 kB / 1.061 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.8022, allocations: 23.97 kB / 1.061 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.8022, allocations: 15.98 kB / 1.061 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00126/0.8034, allocations: 0.8154 MB / 1.062 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8035, allocations: 0 / 1.062 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001083/0.8045, allocations: 371.6 kB / 1.062 GB, free: 3.012 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 (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.0005991/0.8052, allocations: 267.6 kB / 1.062 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.808, allocations: 1.604 MB / 1.064 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.808, allocations: 0 / 1.064 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.8086, allocations: 482.9 kB / 1.064 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.8098, allocations: 231.3 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.8139, allocations: 2.863 MB / 1.067 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.8146, allocations: 1.098 MB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000613/0.8153, allocations: 203.1 kB / 1.069 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.8155, allocations: 67.44 kB / 1.069 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.8155, allocations: 4 kB / 1.069 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.02482/0.8404, allocations: 14.47 MB / 1.083 GB, free: 13.81 MB / 0.8419 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