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.001554/0.001554, allocations: 113.9 kB / 16.42 MB, free: 6.504 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.001748/0.001749, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.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.477/2.477, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6848/0.6862, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00484/0.691, allocations: 4.354 MB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004103/0.6952, allocations: 2.947 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.6955, allocations: 27.88 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.6963, allocations: 361.7 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.6974, allocations: 0.6454 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.6987, allocations: 0.6447 MB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.7003, allocations: 1.871 MB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.7006, allocations: 181.7 kB / 1.178 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006972/0.7013, allocations: 0.6035 MB / 1.179 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008251/0.7021, allocations: 0.6576 MB / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.7023, allocations: 76 kB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006484/0.7029, allocations: 415.4 kB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004513/0.7034, allocations: 470.6 kB / 1.18 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.7039, allocations: 0.5984 MB / 1.181 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.7053, allocations: 1.478 MB / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7053, allocations: 0 / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7053, allocations: 0 / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.7053, allocations: 0 / 1.182 GB, free: 4.52 MB / 0.9044 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.002619/0.708, allocations: 1.654 MB / 1.184 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.708, allocations: 20.88 kB / 1.184 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.7082, allocations: 140 kB / 1.184 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.7095, allocations: 0.8514 MB / 1.185 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.7095, allocations: 41.38 kB / 1.185 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.7096, allocations: 68.31 kB / 1.185 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.7104, allocations: 0.6139 MB / 1.186 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7104, allocations: 4 kB / 1.186 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.7105, allocations: 19.98 kB / 1.186 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7105, allocations: 8 kB / 1.186 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.7112, allocations: 0.5621 MB / 1.186 GB, free: 424 kB / 0.9044 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.004042/0.7153, allocations: 3.283 MB / 1.189 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.7166, allocations: 0.8464 MB / 1.19 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.7171, allocations: 369.3 kB / 1.19 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.7171, allocations: 20.36 kB / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.7172, allocations: 38.94 kB / 1.191 GB, free: 11.6 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.7172, allocations: 0 / 1.191 GB, free: 11.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.001622/0.7188, allocations: 1.187 MB / 1.192 GB, free: 10.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.7188, allocations: 59.39 kB / 1.192 GB, free: 10.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.7203, allocations: 1.228 MB / 1.193 GB, free: 9.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.7203, allocations: 45.7 kB / 1.193 GB, free: 9.027 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.7207, allocations: 473.3 kB / 1.193 GB, free: 8.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.7208, allocations: 178.4 kB / 1.194 GB, free: 8.383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.7211, allocations: 214.6 kB / 1.194 GB, free: 8.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7212, allocations: 345.9 kB / 1.194 GB, free: 7.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/0.7219, allocations: 0.6426 MB / 1.195 GB, free: 7.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.7229, allocations: 0.9786 MB / 1.196 GB, free: 6.055 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.7245, allocations: 1.59 MB / 1.197 GB, free: 4.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7245, allocations: 4 kB / 1.197 GB, free: 4.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00218/0.7267, allocations: 1.792 MB / 1.199 GB, free: 2.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7267, allocations: 8 kB / 1.199 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.7267, allocations: 15.94 kB / 1.199 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.7269, allocations: 48.83 kB / 1.199 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.7281, allocations: 263.7 kB / 1.199 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.7317, allocations: 6.836 MB / 1.206 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.7326, allocations: 127 kB / 1.206 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.7327, allocations: 44 kB / 1.206 GB, free: 10.86 MB / 0.9356 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.0003927/0.7331, allocations: 305.5 kB / 1.206 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7332, allocations: 119.2 kB / 1.207 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.7344, allocations: 0.8465 MB / 1.207 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7345, allocations: 3.984 kB / 1.207 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7345, allocations: 0 / 1.207 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.7348, allocations: 260.2 kB / 1.208 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.7349, allocations: 15.98 kB / 1.208 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.7355, allocations: 27.97 kB / 1.208 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.7356, allocations: 35.89 kB / 1.208 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001789/0.7374, allocations: 0.989 MB / 1.209 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001647/0.739, allocations: 1.497 MB / 1.21 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004201/0.7394, allocations: 367.8 kB / 1.211 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001023/0.7405, allocations: 0.8232 MB / 1.211 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of Backend: time 6.51e-07/0.7405, allocations: 0 / 1.211 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.7433, allocations: 1.45 MB / 1.213 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003481/0.7468, allocations: 2.995 MB / 1.216 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of Templates: time 0.02293/0.7697, allocations: 15.24 MB / 1.231 GB, free: 1.883 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches