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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008305/0.008305, allocations: 102 kB / 15.73 MB, free: 6.488 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.00195/0.00195, allocations: 196 kB / 16.68 MB, free: 6.375 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.52/2.52, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.36 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3026, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00708/0.3098, allocations: 4.348 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005575/0.3154, allocations: 2.952 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009164/0.3163, allocations: 23.88 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.3177, allocations: 365.7 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.3195, allocations: 0.6464 MB / 1.096 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.3212, allocations: 0.6402 MB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3235, allocations: 1.871 MB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.3238, allocations: 189.9 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.3248, allocations: 0.5995 MB / 1.099 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.3258, allocations: 0.6539 MB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.3261, allocations: 80 kB / 1.1 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007632/0.3268, allocations: 415.4 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.3273, allocations: 466.6 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.3281, allocations: 0.5984 MB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.3297, allocations: 1.468 MB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3297, allocations: 0 / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3297, allocations: 0 / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.753e-05/0.3298, allocations: 0 / 1.102 GB, free: 2.652 MB / 0.8575 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.00308/0.3328, allocations: 1.623 MB / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3329, allocations: 12.03 kB / 1.104 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.422e-05/0.333, allocations: 78.72 kB / 1.104 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.3333, allocations: 143.3 kB / 1.104 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3347, allocations: 0.8426 MB / 1.105 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.3347, allocations: 45.38 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.983e-05/0.3349, allocations: 60.38 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.3357, allocations: 0.6138 MB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3357, allocations: 0 / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.3358, allocations: 16 kB / 1.106 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3358, allocations: 12 kB / 1.106 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.3365, allocations: 0.5621 MB / 1.106 GB, free: 14.51 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.004568/0.3411, allocations: 3.267 MB / 1.109 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.3425, allocations: 0.8442 MB / 1.11 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.3429, allocations: 365.4 kB / 1.111 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.343, allocations: 28.25 kB / 1.111 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3431, allocations: 50.86 kB / 1.111 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.255e-06/0.3431, allocations: 0 / 1.111 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001755/0.3448, allocations: 1.168 MB / 1.112 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3449, allocations: 59.41 kB / 1.112 GB, free: 8.434 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.3466, allocations: 1.227 MB / 1.113 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.3466, allocations: 41.7 kB / 1.113 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.347, allocations: 460.7 kB / 1.114 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.3472, allocations: 181.4 kB / 1.114 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.3474, allocations: 210.5 kB / 1.114 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3476, allocations: 353.9 kB / 1.114 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/0.3483, allocations: 0.6464 MB / 1.115 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.3493, allocations: 0.9708 MB / 1.116 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.3509, allocations: 1.582 MB / 1.117 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.351, allocations: 4 kB / 1.117 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002271/0.3532, allocations: 1.779 MB / 1.119 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3533, allocations: 15.98 kB / 1.119 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.3533, allocations: 12 kB / 1.119 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.3535, allocations: 40.84 kB / 1.119 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3547, allocations: 275.8 kB / 1.119 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004434/0.3591, allocations: 6.832 MB / 1.126 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3602, allocations: 126.6 kB / 1.126 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.3603, allocations: 40 kB / 1.126 GB, free: 9.012 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.0004507/0.3607, allocations: 309.6 kB / 1.127 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.361, allocations: 114.4 kB / 1.127 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.3622, allocations: 0.8375 MB / 1.128 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3622, allocations: 4 kB / 1.128 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3623, allocations: 8 kB / 1.128 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3623, allocations: 3.984 kB / 1.128 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3635, allocations: 0.9151 MB / 1.128 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3635, allocations: 0 / 1.128 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.364, allocations: 115.9 kB / 1.129 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.3642, allocations: 28.83 kB / 1.129 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.3642, allocations: 19.98 kB / 1.129 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3652, allocations: 1.433 MB / 1.13 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3652, allocations: 0 / 1.13 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.367, allocations: 1.374 MB / 1.131 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.3675, allocations: 267.4 kB / 1.132 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.3677, allocations: 12 kB / 1.132 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/0.3683, allocations: 27.95 kB / 1.132 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.3684, allocations: 27.97 kB / 1.132 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3684, allocations: 12 kB / 1.132 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0013/0.3697, allocations: 0.8232 MB / 1.132 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3697, allocations: 0 / 1.132 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001149/0.3709, allocations: 371.7 kB / 1.133 GB, free: 2.074 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.002399/0.3733, allocations: 2.079 MB / 1.135 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.3758, allocations: 1.506 MB / 1.136 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3758, allocations: 0.75 kB / 1.136 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.3764, allocations: 490.2 kB / 1.137 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3775, allocations: 218.7 kB / 1.137 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.3922, allocations: 11.53 MB / 1.148 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.393, allocations: 1.11 MB / 1.149 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005324/0.3935, allocations: 195.1 kB / 1.15 GB, free: 468 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/0.3941, allocations: 403.3 kB / 1.15 GB, free: 64 kB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.3941, allocations: 0 / 1.15 GB, free: 64 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05844/0.4525, allocations: 24.15 MB / 1.174 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.69, allocations: 7.219 kB / 1.174 GB, free: 8.199 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > 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