Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 213.2 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.909/2.909, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.11 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.289, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005836/0.2948, allocations: 4.42 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0051/0.2999, allocations: 3.037 MB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.3003, allocations: 27.75 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009313/0.3013, allocations: 373.7 kB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3026, allocations: 0.6962 MB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3041, allocations: 0.6626 MB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.3062, allocations: 1.912 MB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.3065, allocations: 122.3 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.3073, allocations: 0.6152 MB / 1.339 GB, free: 5.559 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3083, allocations: 0.7162 MB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3085, allocations: 76 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007627/0.3092, allocations: 443.4 kB / 1.34 GB, free: 4.332 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.3097, allocations: 490.4 kB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005803/0.3103, allocations: 0.5984 MB / 1.341 GB, free: 3.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.3119, allocations: 1.49 MB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.3119, allocations: 8 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3119, allocations: 0 / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.312, allocations: 0 / 1.342 GB, free: 1.746 MB / 1.029 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.002985/0.3149, allocations: 1.606 MB / 1.344 GB, free: 104 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.315, allocations: 8.031 kB / 1.344 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.3154, allocations: 151.3 kB / 1.344 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3167, allocations: 0.7781 MB / 1.345 GB, free: 15.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.172e-05/0.3168, allocations: 45.38 kB / 1.345 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3169, allocations: 64.33 kB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.3177, allocations: 0.6186 MB / 1.346 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3177, allocations: 0 / 1.346 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.3178, allocations: 19.94 kB / 1.346 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3178, allocations: 15.94 kB / 1.346 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/0.3186, allocations: 0.5582 MB / 1.346 GB, free: 13.79 MB / 1.045 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.00452/0.3231, allocations: 3.252 MB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.3244, allocations: 0.8128 MB / 1.35 GB, free: 9.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.3249, allocations: 337.4 kB / 1.35 GB, free: 9.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.325, allocations: 32.33 kB / 1.35 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.325, allocations: 34.94 kB / 1.351 GB, free: 9.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 1.693e-06/0.325, allocations: 4 kB / 1.351 GB, free: 9.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001735/0.3267, allocations: 1.115 MB / 1.352 GB, free: 7.945 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3268, allocations: 55.41 kB / 1.352 GB, free: 7.879 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.3284, allocations: 1.251 MB / 1.353 GB, free: 6.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.3284, allocations: 37.7 kB / 1.353 GB, free: 6.574 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.3288, allocations: 461.4 kB / 1.353 GB, free: 6.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.329, allocations: 190.4 kB / 1.354 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.3293, allocations: 210.6 kB / 1.354 GB, free: 5.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3294, allocations: 349.9 kB / 1.354 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.3302, allocations: 0.6426 MB / 1.355 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.3313, allocations: 0.9669 MB / 1.356 GB, free: 3.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.3332, allocations: 1.586 MB / 1.357 GB, free: 1.883 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.3332, allocations: 4 kB / 1.357 GB, free: 1.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002431/0.3356, allocations: 1.787 MB / 1.359 GB, free: 84 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3357, allocations: 20.2 kB / 1.359 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.3357, allocations: 12 kB / 1.359 GB, free: 52 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.3359, allocations: 40.84 kB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.337, allocations: 267.6 kB / 1.359 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.3415, allocations: 6.74 MB / 1.366 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3425, allocations: 135 kB / 1.366 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3425, allocations: 40 kB / 1.366 GB, free: 8.531 MB / 1.061 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.0004217/0.3429, allocations: 299.7 kB / 1.366 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3431, allocations: 115.3 kB / 1.366 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.3443, allocations: 0.8505 MB / 1.367 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3443, allocations: 4 kB / 1.367 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3443, allocations: 3.938 kB / 1.367 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3443, allocations: 0 / 1.367 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3454, allocations: 0.8909 MB / 1.368 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3454, allocations: 0 / 1.368 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.3459, allocations: 115.8 kB / 1.368 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.346, allocations: 32.83 kB / 1.368 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.3461, allocations: 23.98 kB / 1.368 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3471, allocations: 1.331 MB / 1.37 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3471, allocations: 3.984 kB / 1.37 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.3488, allocations: 1.382 MB / 1.371 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.3492, allocations: 187 kB / 1.371 GB, free: 3.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3494, allocations: 15.98 kB / 1.371 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.3499, allocations: 35.89 kB / 1.371 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.35, allocations: 23.95 kB / 1.371 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.35, allocations: 19.98 kB / 1.371 GB, free: 3.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001115/0.3511, allocations: 0.8233 MB / 1.372 GB, free: 2.191 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3511, allocations: 8 kB / 1.372 GB, free: 2.184 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009573/0.3521, allocations: 367.6 kB / 1.372 GB, free: 1.824 MB / 1.061 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.0004985/0.3526, allocations: 266.8 kB / 1.373 GB, free: 1.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002312/0.3549, allocations: 1.397 MB / 1.374 GB, free: 136 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3549, allocations: 3.938 kB / 1.374 GB, free: 132 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005813/0.3555, allocations: 458.5 kB / 1.374 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.3564, allocations: 224.9 kB / 1.375 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.36, allocations: 2.64 MB / 1.377 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.3608, allocations: 1.094 MB / 1.378 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.361, allocations: 75.42 kB / 1.378 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/0.361, allocations: 0 / 1.378 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.03619/0.3972, allocations: 30.93 MB / 1.409 GB, free: 12.69 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.05092368798796]