Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009589/0.000959, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001372/0.001372, allocations: 172.7 kB / 15.95 MB, free: 208 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.82/2.82, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 7.656 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3662, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004764/0.371, allocations: 3.781 MB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00493/0.376, allocations: 2.803 MB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.3766, allocations: 19.88 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.3775, allocations: 306.3 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.3789, allocations: 0.5706 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3803, allocations: 0.4951 MB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.3824, allocations: 1.769 MB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3827, allocations: 144.5 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008269/0.3836, allocations: 0.5215 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.3844, allocations: 0.6657 MB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.3845, allocations: 44 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.3851, allocations: 303.6 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.3856, allocations: 422.8 kB / 1.07 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.3859, allocations: 237.1 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.387, allocations: 1.068 MB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3871, allocations: 0 / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.128e-06/0.3871, allocations: 4 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.3871, allocations: 4 kB / 1.071 GB, free: 8.113 MB / 0.8262 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.002968/0.3901, allocations: 1.472 MB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.3901, allocations: 8.031 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.3904, allocations: 134.4 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.3917, allocations: 0.7759 MB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.3917, allocations: 45 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3918, allocations: 67.89 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3927, allocations: 0.6099 MB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3928, allocations: 3.984 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.3928, allocations: 16 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3928, allocations: 12 kB / 1.074 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.3937, allocations: 0.5582 MB / 1.074 GB, free: 4.285 MB / 0.8262 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.004827/0.3985, allocations: 3.306 MB / 1.078 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3999, allocations: 0.8401 MB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.4004, allocations: 361.4 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/0.4005, allocations: 32.25 kB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.4006, allocations: 34.94 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 3.447e-06/0.4006, allocations: 0 / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.002005/0.4026, allocations: 1.191 MB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4027, allocations: 55.41 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.4042, allocations: 1.216 MB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.4043, allocations: 41.7 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/0.4047, allocations: 456.8 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.4049, allocations: 177.4 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.405, allocations: 19.94 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.4051, allocations: 353.9 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.406, allocations: 0.6464 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.407, allocations: 0.9708 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/0.408, allocations: 0.7443 MB / 1.085 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.408, allocations: 4 kB / 1.085 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002551/0.4105, allocations: 1.779 MB / 1.086 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4106, allocations: 8 kB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.4106, allocations: 12 kB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.4108, allocations: 48.83 kB / 1.086 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.412, allocations: 271.9 kB / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006028/0.418, allocations: 6.737 MB / 1.093 GB, free: 204 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4198, allocations: 134.8 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4199, allocations: 43.94 kB / 1.093 GB, free: 24 kB / 0.8419 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.0005949/0.4205, allocations: 293.5 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.4207, allocations: 114.5 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.4221, allocations: 0.8569 MB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.4221, allocations: 4 kB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4221, allocations: 0 / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.4221, allocations: 3.984 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.4233, allocations: 0.9151 MB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.4233, allocations: 0 / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.4239, allocations: 111.9 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.424, allocations: 32.83 kB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.4241, allocations: 16 kB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4252, allocations: 1.331 MB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4252, allocations: 3.984 kB / 1.097 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.427, allocations: 1.373 MB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.4275, allocations: 267.6 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.4277, allocations: 15.98 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.4283, allocations: 31.88 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.4284, allocations: 31.95 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4284, allocations: 12.11 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001313/0.4297, allocations: 0.8115 MB / 1.099 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4298, allocations: 4 kB / 1.099 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001215/0.431, allocations: 367.7 kB / 1.1 GB, free: 9.207 MB / 0.8575 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.0004508/0.4314, allocations: 201.2 kB / 1.1 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.4343, allocations: 1.507 MB / 1.101 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4343, allocations: 0 / 1.101 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.4349, allocations: 478.3 kB / 1.102 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4362, allocations: 214.8 kB / 1.102 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.4412, allocations: 2.968 MB / 1.105 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.4423, allocations: 1.094 MB / 1.106 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006974/0.443, allocations: 211.1 kB / 1.106 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.4432, allocations: 63.44 kB / 1.106 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of SimCode: time 1.332e-06/0.4432, allocations: 0 / 1.106 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of Templates: time 0.02806/0.4713, allocations: 13.2 MB / 1.119 GB, free: 5.348 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches