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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001455/0.001455, allocations: 108.7 kB / 16.41 MB, free: 6.512 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.001429/0.001429, allocations: 187 kB / 17.34 MB, free: 5.742 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8528, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005358/0.8582, allocations: 4.359 MB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005466/0.8637, allocations: 2.94 MB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.865, allocations: 20.5 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.8665, allocations: 358.3 kB / 1.096 GB, free: 216 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.8688, allocations: 0.6494 MB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.8713, allocations: 0.6389 MB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003836/0.8752, allocations: 1.884 MB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.8756, allocations: 177 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.8773, allocations: 0.5945 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.8787, allocations: 0.659 MB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.879, allocations: 75.88 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.8801, allocations: 421.2 kB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.8808, allocations: 460.9 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.8816, allocations: 0.603 MB / 1.102 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.8841, allocations: 1.471 MB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.8841, allocations: 2.109 kB / 1.104 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8841, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.543e-05/0.8842, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.8731 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.003784/0.888, allocations: 1.621 MB / 1.105 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.888, allocations: 10.95 kB / 1.105 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.8883, allocations: 131.5 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.89, allocations: 0.841 MB / 1.106 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.89, allocations: 43.56 kB / 1.106 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8902, allocations: 61.72 kB / 1.106 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.8912, allocations: 0.6225 MB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.8913, allocations: 0 / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.8913, allocations: 16.44 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.8914, allocations: 10.44 kB / 1.107 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.8922, allocations: 0.5604 MB / 1.107 GB, free: 10.94 MB / 0.8731 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.005652/0.8979, allocations: 3.271 MB / 1.111 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.8995, allocations: 0.843 MB / 1.111 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.9001, allocations: 358 kB / 1.112 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.9002, allocations: 33.72 kB / 1.112 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.9002, allocations: 36.34 kB / 1.112 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 3.166e-06/0.9002, allocations: 0 / 1.112 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002257/0.9025, allocations: 1.18 MB / 1.113 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.9026, allocations: 56.31 kB / 1.113 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.9047, allocations: 1.23 MB / 1.114 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.9049, allocations: 41.27 kB / 1.114 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.9053, allocations: 468.7 kB / 1.115 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.9056, allocations: 173.7 kB / 1.115 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.9059, allocations: 212.5 kB / 1.115 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9061, allocations: 351.7 kB / 1.115 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.907, allocations: 0.6465 MB / 1.116 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.9082, allocations: 0.972 MB / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.9103, allocations: 1.589 MB / 1.118 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.9103, allocations: 2.969 kB / 1.118 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003141/0.9135, allocations: 1.782 MB / 1.12 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.9135, allocations: 9.531 kB / 1.12 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-05/0.9136, allocations: 12.28 kB / 1.12 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.9139, allocations: 52.2 kB / 1.12 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.9151, allocations: 266.6 kB / 1.121 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.9195, allocations: 6.828 MB / 1.127 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9212, allocations: 130.5 kB / 1.127 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.9213, allocations: 37.69 kB / 1.127 GB, free: 13.67 MB / 0.8887 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.0006122/0.9219, allocations: 311.6 kB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.9222, allocations: 116.3 kB / 1.128 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.9236, allocations: 0.838 MB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9237, allocations: 5.531 kB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9237, allocations: 0 / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.9237, allocations: 3.703 kB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.9253, allocations: 0.9174 MB / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9253, allocations: 0 / 1.13 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.9259, allocations: 110.8 kB / 1.13 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.926, allocations: 31.14 kB / 1.13 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.9261, allocations: 16.83 kB / 1.13 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.9273, allocations: 1.443 MB / 1.131 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9273, allocations: 0.8594 kB / 1.131 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.9295, allocations: 1.368 MB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007521/0.9302, allocations: 257.2 kB / 1.133 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.9305, allocations: 21.06 kB / 1.133 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.9313, allocations: 23.31 kB / 1.133 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9314, allocations: 36.62 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.9314, allocations: 17.19 kB / 1.133 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001805/0.9333, allocations: 0.8199 MB / 1.134 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9333, allocations: 0 / 1.134 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001986/0.9353, allocations: 367.5 kB / 1.134 GB, free: 10.14 MB / 0.8887 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.000864/0.9361, allocations: 273 kB / 1.134 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.9394, allocations: 1.497 MB / 1.136 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9394, allocations: 2.812 kB / 1.136 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.9402, allocations: 474.6 kB / 1.136 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.942, allocations: 225 kB / 1.136 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.9469, allocations: 2.586 MB / 1.139 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.948, allocations: 1.1 MB / 1.14 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.9484, allocations: 70.06 kB / 1.14 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of SimCode: time 7.72e-07/0.9484, allocations: 1.188 kB / 1.14 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.05523/1.004, allocations: 30.81 MB / 1.17 GB, free: 9.152 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches