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.001076/0.001076, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 199.8 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.258 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.394/2.394, allocations: 390.2 MB / 0.6646 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7411/0.7424, allocations: 140.3 MB / 0.9496 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005608/0.7481, allocations: 4.356 MB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005547/0.7536, allocations: 2.946 MB / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.7548, allocations: 19.78 kB / 0.9567 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.7561, allocations: 365.5 kB / 0.9571 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.7577, allocations: 0.644 MB / 0.9577 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.7596, allocations: 0.628 MB / 0.9583 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.762, allocations: 1.881 MB / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.7624, allocations: 186.9 kB / 0.9603 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.7636, allocations: 0.5791 MB / 0.9609 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.7647, allocations: 0.6736 MB / 0.9615 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.7649, allocations: 76.53 kB / 0.9616 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009881/0.7659, allocations: 403.7 kB / 0.962 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.7664, allocations: 458 kB / 0.9624 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.7672, allocations: 0.6014 MB / 0.963 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.7692, allocations: 1.453 MB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.7692, allocations: 4 kB / 0.9644 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7692, allocations: 0 / 0.9644 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.7692, allocations: 1.094 kB / 0.9644 GB, free: 14.63 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.003962/0.7732, allocations: 1.609 MB / 0.966 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.7733, allocations: 9.344 kB / 0.966 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.7737, allocations: 139.9 kB / 0.9662 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.7758, allocations: 0.8263 MB / 0.967 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.7759, allocations: 44.38 kB / 0.967 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.776, allocations: 65 kB / 0.9671 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.7774, allocations: 0.6129 MB / 0.9677 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.7774, allocations: 1.406 kB / 0.9677 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.7775, allocations: 14.72 kB / 0.9677 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.7775, allocations: 14.66 kB / 0.9677 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.7788, allocations: 0.5609 MB / 0.9682 GB, free: 12.11 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.00744/0.7863, allocations: 3.287 MB / 0.9715 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.788, allocations: 0.8459 MB / 0.9723 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.7886, allocations: 364.9 kB / 0.9726 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.7887, allocations: 24.39 kB / 0.9727 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7887, allocations: 44.38 kB / 0.9727 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 3.206e-06/0.7887, allocations: 1 kB / 0.9727 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002171/0.7909, allocations: 1.174 MB / 0.9738 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.791, allocations: 58.91 kB / 0.9739 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.7928, allocations: 1.237 MB / 0.9751 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.7928, allocations: 41.7 kB / 0.9751 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.7932, allocations: 460.7 kB / 0.9756 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.7934, allocations: 177.5 kB / 0.9758 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.7937, allocations: 214.5 kB / 0.976 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7938, allocations: 345.9 kB / 0.9763 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007559/0.7946, allocations: 0.6426 MB / 0.9769 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.7955, allocations: 0.9747 MB / 0.9779 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.7973, allocations: 1.586 MB / 0.9794 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.7973, allocations: 4 kB / 0.9794 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002319/0.7996, allocations: 1.783 MB / 0.9812 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7997, allocations: 8 kB / 0.9812 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.7997, allocations: 12 kB / 0.9812 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.7999, allocations: 44.83 kB / 0.9812 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.8011, allocations: 275.9 kB / 0.9815 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.8051, allocations: 6.828 MB / 0.9882 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.8064, allocations: 126.6 kB / 0.9883 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.8065, allocations: 40.28 kB / 0.9883 GB, free: 9.215 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.0005612/0.8071, allocations: 298.3 kB / 0.9886 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.8072, allocations: 118.5 kB / 0.9887 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.8085, allocations: 0.8491 MB / 0.9895 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.8085, allocations: 8 kB / 0.9895 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8086, allocations: 4 kB / 0.9896 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8086, allocations: 7.984 kB / 0.9896 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.8098, allocations: 0.9073 MB / 0.9904 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8098, allocations: 4 kB / 0.9905 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.8104, allocations: 107.9 kB / 0.9906 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.8105, allocations: 32.83 kB / 0.9906 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.8106, allocations: 16 kB / 0.9906 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.8116, allocations: 1.437 MB / 0.992 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8116, allocations: 0 / 0.992 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8132, allocations: 1.358 MB / 0.9933 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.8136, allocations: 271.5 kB / 0.9936 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.8137, allocations: 19.94 kB / 0.9936 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.8143, allocations: 19.97 kB / 0.9936 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.8144, allocations: 31.95 kB / 0.9937 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.8144, allocations: 12 kB / 0.9937 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001115/0.8155, allocations: 0.8194 MB / 0.9945 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8155, allocations: 7.875 kB / 0.9945 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001288/0.8168, allocations: 367.7 kB / 0.9948 GB, free: 2.289 MB / 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.0005762/0.8174, allocations: 278.9 kB / 0.9951 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.82, allocations: 1.609 MB / 0.9967 GB, free: 384 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.82, allocations: 192 / 0.9967 GB, free: 384 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.8205, allocations: 482.4 kB / 0.9971 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.8216, allocations: 221.2 kB / 0.9973 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.8251, allocations: 2.546 MB / 0.9998 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.8258, allocations: 1.094 MB / 1.001 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005417/0.8263, allocations: 207.1 kB / 1.001 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.8265, allocations: 67.42 kB / 1.001 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of SimCode: time 2.2e-07/0.8265, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of Templates: time 0.0256/0.8521, allocations: 14.53 MB / 1.015 GB, free: 13.34 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