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.001028/0.001028, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001126/0.001126, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.426 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.428/2.428, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005273, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7917, allocations: 142.4 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00365/0.7954, allocations: 3.774 MB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.7992, allocations: 2.796 MB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.7997, allocations: 17.5 kB / 0.9609 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.8004, allocations: 304.6 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.8014, allocations: 0.5723 MB / 0.9617 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.8026, allocations: 0.5054 MB / 0.9622 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.8043, allocations: 1.773 MB / 0.9639 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.8046, allocations: 153.3 kB / 0.9641 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.8052, allocations: 0.5127 MB / 0.9646 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.8062, allocations: 0.6655 MB / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.8063, allocations: 42.47 kB / 0.9653 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.807, allocations: 309.9 kB / 0.9656 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.8074, allocations: 424.6 kB / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.8077, allocations: 238.5 kB / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.8089, allocations: 1.069 MB / 0.9672 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.809, allocations: 0 / 0.9672 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.809, allocations: 0 / 0.9672 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.809, allocations: 0 / 0.9672 GB, free: 14.38 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.002652/0.8117, allocations: 1.484 MB / 0.9687 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8117, allocations: 9.188 kB / 0.9687 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.8119, allocations: 138.4 kB / 0.9688 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8132, allocations: 0.7682 MB / 0.9696 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.8133, allocations: 43.75 kB / 0.9696 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.8134, allocations: 63.78 kB / 0.9697 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.8144, allocations: 0.6199 MB / 0.9703 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.8144, allocations: 1.125 kB / 0.9703 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.8145, allocations: 19.5 kB / 0.9703 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.8145, allocations: 10.12 kB / 0.9703 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.8153, allocations: 0.5622 MB / 0.9709 GB, free: 12.01 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.00441/0.8197, allocations: 3.299 MB / 0.9741 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8211, allocations: 0.8386 MB / 0.9749 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.8216, allocations: 369 kB / 0.9753 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/0.8217, allocations: 28.47 kB / 0.9753 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.8217, allocations: 38.09 kB / 0.9753 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.8217, allocations: 0 / 0.9753 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001841/0.8235, allocations: 1.181 MB / 0.9765 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8236, allocations: 64.81 kB / 0.9765 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.8253, allocations: 1.219 MB / 0.9777 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.8254, allocations: 37.7 kB / 0.9778 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.8258, allocations: 468.7 kB / 0.9782 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.826, allocations: 173.5 kB / 0.9784 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.826, allocations: 16 kB / 0.9784 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8262, allocations: 349.9 kB / 0.9787 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/0.827, allocations: 0.6465 MB / 0.9794 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.8281, allocations: 0.963 MB / 0.9803 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.8291, allocations: 0.7442 MB / 0.981 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8291, allocations: 8 kB / 0.981 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002326/0.8315, allocations: 1.779 MB / 0.9828 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.8315, allocations: 15.94 kB / 0.9828 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.8315, allocations: 12 kB / 0.9828 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.8318, allocations: 40.84 kB / 0.9828 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.833, allocations: 271.8 kB / 0.9831 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.8374, allocations: 6.733 MB / 0.9897 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.8385, allocations: 134.6 kB / 0.9898 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.8386, allocations: 43.98 kB / 0.9898 GB, free: 10.23 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 (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.000493/0.8391, allocations: 305.6 kB / 0.9901 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.8393, allocations: 110.6 kB / 0.9902 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.8405, allocations: 0.8452 MB / 0.9911 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-06/0.8405, allocations: 11.95 kB / 0.9911 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8406, allocations: 4 kB / 0.9911 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.8406, allocations: 0 / 0.9911 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.8418, allocations: 0.9073 MB / 0.992 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8418, allocations: 0 / 0.992 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.8423, allocations: 115.8 kB / 0.9921 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.8424, allocations: 36.77 kB / 0.9921 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.8425, allocations: 23.98 kB / 0.9921 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.8436, allocations: 1.331 MB / 0.9934 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8436, allocations: 0 / 0.9934 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.8453, allocations: 1.373 MB / 0.9948 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.8457, allocations: 263.5 kB / 0.995 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8459, allocations: 12.06 kB / 0.995 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.8464, allocations: 43.89 kB / 0.9951 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.8465, allocations: 27.97 kB / 0.9951 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.8465, allocations: 11.98 kB / 0.9951 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001089/0.8476, allocations: 0.8076 MB / 0.9959 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.733e-06/0.8476, allocations: 112 / 0.9959 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001158/0.8488, allocations: 367.6 kB / 0.9963 GB, free: 3.418 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 (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.0003821/0.8491, allocations: 202.8 kB / 0.9964 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.8516, allocations: 1.507 MB / 0.9979 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8516, allocations: 4.125 kB / 0.9979 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.8521, allocations: 478.3 kB / 0.9984 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.8534, allocations: 222.5 kB / 0.9986 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.8575, allocations: 2.96 MB / 1.001 GB, free: 14 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.8582, allocations: 1.098 MB / 1.003 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006002/0.8588, allocations: 207.1 kB / 1.003 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.859, allocations: 71.42 kB / 1.003 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of SimCode: time 9.82e-07/0.859, allocations: 0 / 1.003 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of Templates: time 0.02454/0.8836, allocations: 13.19 MB / 1.016 GB, free: 15.55 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