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.001715/0.001715, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00199/0.00199, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.818/2.818, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.89 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7608, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005737/0.7666, allocations: 4.369 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005275/0.7719, allocations: 2.978 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.7723, allocations: 19.88 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.7734, allocations: 322.3 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.7747, allocations: 0.599 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.7762, allocations: 0.5515 MB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.7789, allocations: 2.194 MB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.7792, allocations: 165.8 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.7801, allocations: 0.5174 MB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009177/0.781, allocations: 0.6811 MB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.7812, allocations: 48 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007903/0.782, allocations: 395.4 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.7825, allocations: 434.6 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.7831, allocations: 0.5633 MB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.7847, allocations: 1.433 MB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7847, allocations: 0 / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7847, allocations: 0 / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.7847, allocations: 0 / 1.032 GB, free: 3.465 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.003236/0.788, allocations: 1.618 MB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.788, allocations: 12.03 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.7883, allocations: 139.2 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.7898, allocations: 0.7998 MB / 1.034 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.7899, allocations: 45.38 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.79, allocations: 68.27 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.791, allocations: 0.6217 MB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.791, allocations: 0 / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.7911, allocations: 20 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.7911, allocations: 12 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.792, allocations: 0.5582 MB / 1.035 GB, free: 15.45 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.004775/0.7968, allocations: 3.278 MB / 1.038 GB, free: 11.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.7983, allocations: 0.8502 MB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.7988, allocations: 365.4 kB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.7989, allocations: 28.3 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.7989, allocations: 42.94 kB / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.474e-06/0.7989, allocations: 0 / 1.04 GB, free: 10.63 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001916/0.8008, allocations: 1.182 MB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.8009, allocations: 59.41 kB / 1.041 GB, free: 9.352 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.8026, allocations: 1.227 MB / 1.042 GB, free: 8.113 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.8027, allocations: 37.7 kB / 1.042 GB, free: 8.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.8031, allocations: 472.7 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.8033, allocations: 169.5 kB / 1.043 GB, free: 7.434 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.8036, allocations: 210.5 kB / 1.043 GB, free: 7.223 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8038, allocations: 349.9 kB / 1.043 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.8047, allocations: 0.6465 MB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.8058, allocations: 0.9708 MB / 1.045 GB, free: 5.117 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.8077, allocations: 1.586 MB / 1.046 GB, free: 3.387 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.8078, allocations: 7.938 kB / 1.046 GB, free: 3.379 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002598/0.8104, allocations: 1.775 MB / 1.048 GB, free: 1.594 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.8104, allocations: 12 kB / 1.048 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.8104, allocations: 12 kB / 1.048 GB, free: 1.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.8107, allocations: 52.77 kB / 1.048 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.8119, allocations: 264 kB / 1.049 GB, free: 1.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.817, allocations: 6.733 MB / 1.055 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8185, allocations: 134.6 kB / 1.055 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.8187, allocations: 43.94 kB / 1.055 GB, free: 10.03 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.0008141/0.8195, allocations: 311.6 kB / 1.056 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/0.82, allocations: 106.6 kB / 1.056 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.8216, allocations: 0.8462 MB / 1.057 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8217, allocations: 4 kB / 1.057 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8217, allocations: 7.922 kB / 1.057 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8217, allocations: 4 kB / 1.057 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.8232, allocations: 0.9075 MB / 1.057 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8232, allocations: 4 kB / 1.057 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.8238, allocations: 111.8 kB / 1.058 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001552/0.824, allocations: 32.78 kB / 1.058 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.824, allocations: 19.98 kB / 1.058 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.8252, allocations: 1.334 MB / 1.059 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8252, allocations: 0 / 1.059 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.8271, allocations: 1.366 MB / 1.06 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.8276, allocations: 263.4 kB / 1.06 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.8278, allocations: 15.98 kB / 1.06 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.8284, allocations: 27.97 kB / 1.06 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.8285, allocations: 35.89 kB / 1.061 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.8285, allocations: 12 kB / 1.061 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001263/0.8298, allocations: 0.8232 MB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8298, allocations: 0 / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001114/0.8309, allocations: 371.6 kB / 1.062 GB, free: 3.203 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.0006132/0.8315, allocations: 271.5 kB / 1.062 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.8342, allocations: 1.5 MB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8342, allocations: 0 / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.8349, allocations: 474.2 kB / 1.064 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.836, allocations: 223.2 kB / 1.064 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.8403, allocations: 2.855 MB / 1.067 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.8411, allocations: 1.11 MB / 1.068 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005791/0.8417, allocations: 203.1 kB / 1.068 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.842, allocations: 59.44 kB / 1.068 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.842, allocations: 4 kB / 1.068 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.02821/0.8702, allocations: 13.93 MB / 1.082 GB, free: 14.66 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=400 -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