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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007535/0.007535, allocations: 101 kB / 15.88 MB, free: 5.863 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.001664/0.001664, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6122/0.6137, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004242/0.618, allocations: 4.372 MB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.622, allocations: 2.972 MB / 0.9567 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.6225, allocations: 20.38 kB / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.6234, allocations: 325.4 kB / 0.9571 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009584/0.6244, allocations: 0.6007 MB / 0.9577 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.6256, allocations: 0.5495 MB / 0.9582 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.6272, allocations: 2.196 MB / 0.9603 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.6275, allocations: 166.1 kB / 0.9605 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.6282, allocations: 0.5163 MB / 0.961 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007289/0.6289, allocations: 0.6877 MB / 0.9617 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.629, allocations: 46.81 kB / 0.9617 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006753/0.6297, allocations: 399.2 kB / 0.9621 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.6302, allocations: 425.7 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.6308, allocations: 0.5659 MB / 0.9631 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.6319, allocations: 1.091 MB / 0.9641 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6319, allocations: 1.406 kB / 0.9641 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6319, allocations: 4 kB / 0.9641 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.6319, allocations: 0 / 0.9641 GB, free: 14.62 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.003117/0.635, allocations: 1.613 MB / 0.9657 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6351, allocations: 9.781 kB / 0.9657 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.6353, allocations: 139.6 kB / 0.9658 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.6367, allocations: 0.8104 MB / 0.9666 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.6367, allocations: 44.47 kB / 0.9667 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6369, allocations: 68.91 kB / 0.9667 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.6378, allocations: 0.6133 MB / 0.9673 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6379, allocations: 0.9375 kB / 0.9673 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.6379, allocations: 15.47 kB / 0.9674 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6379, allocations: 10.88 kB / 0.9674 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.6387, allocations: 0.5647 MB / 0.9679 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.004575/0.6433, allocations: 3.281 MB / 0.9711 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.6447, allocations: 0.8495 MB / 0.972 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.6451, allocations: 360.8 kB / 0.9723 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/0.6452, allocations: 24.42 kB / 0.9723 GB, free: 8.922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6453, allocations: 37.06 kB / 0.9724 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.063e-06/0.6453, allocations: 0 / 0.9724 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001786/0.6471, allocations: 1.182 MB / 0.9735 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6471, allocations: 55.59 kB / 0.9736 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6487, allocations: 1.231 MB / 0.9748 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.6487, allocations: 41.61 kB / 0.9748 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6491, allocations: 463.3 kB / 0.9752 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6493, allocations: 183 kB / 0.9754 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.6495, allocations: 214.1 kB / 0.9756 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6497, allocations: 347.1 kB / 0.976 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.6505, allocations: 0.6456 MB / 0.9766 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.6515, allocations: 0.9747 MB / 0.9775 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.6531, allocations: 1.582 MB / 0.9791 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6532, allocations: 4 kB / 0.9791 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002385/0.6555, allocations: 1.779 MB / 0.9808 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6556, allocations: 14.06 kB / 0.9808 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.6556, allocations: 19.98 kB / 0.9809 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.6558, allocations: 40.84 kB / 0.9809 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.657, allocations: 271.6 kB / 0.9812 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.6607, allocations: 6.741 MB / 0.9877 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6619, allocations: 138.7 kB / 0.9879 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.662, allocations: 40 kB / 0.9879 GB, free: 9.703 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.0004308/0.6624, allocations: 301.4 kB / 0.9882 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.6626, allocations: 110.6 kB / 0.9883 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.6638, allocations: 0.8452 MB / 0.9891 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6638, allocations: 4 kB / 0.9891 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.6638, allocations: 0 / 0.9891 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.6638, allocations: 3.984 kB / 0.9891 GB, free: 8.422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.6649, allocations: 0.9074 MB / 0.99 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6649, allocations: 0 / 0.99 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.6654, allocations: 107.9 kB / 0.9901 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.6656, allocations: 44.7 kB / 0.9902 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.6656, allocations: 16 kB / 0.9902 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009775/0.6666, allocations: 1.327 MB / 0.9915 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6666, allocations: 3.984 kB / 0.9915 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.6683, allocations: 1.366 MB / 0.9928 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.6687, allocations: 263.6 kB / 0.9931 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6688, allocations: 12 kB / 0.9931 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.6694, allocations: 39.86 kB / 0.9931 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.6695, allocations: 27.95 kB / 0.9931 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.6695, allocations: 12.11 kB / 0.9932 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001149/0.6707, allocations: 0.8193 MB / 0.994 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6707, allocations: 0 / 0.994 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001179/0.6719, allocations: 379.5 kB / 0.9943 GB, free: 2.891 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.0005638/0.6725, allocations: 278.9 kB / 0.9946 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.6749, allocations: 1.507 MB / 0.9961 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6749, allocations: 0 / 0.9961 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.6755, allocations: 470.4 kB / 0.9965 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6767, allocations: 222.2 kB / 0.9967 GB, free: 400 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/0.6809, allocations: 2.913 MB / 0.9996 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/0.6817, allocations: 1.094 MB / 1.001 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.682, allocations: 71.44 kB / 1.001 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/0.682, allocations: 0 / 1.001 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of Templates: time 0.03693/0.719, allocations: 30.71 MB / 1.031 GB, free: 13.59 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches