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.004936/0.004936, allocations: 105 kB / 15.74 MB, free: 6.445 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.001189/0.001189, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.37/2.37, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 57.88 kB / 0.9504 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3051, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005913/0.311, allocations: 4.345 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004781/0.3158, allocations: 2.953 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.3165, allocations: 19.88 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3176, allocations: 365.7 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3192, allocations: 0.6515 MB / 1.096 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3208, allocations: 0.6275 MB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.323, allocations: 1.886 MB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3234, allocations: 181.9 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.3246, allocations: 0.6034 MB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.3257, allocations: 0.6577 MB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.326, allocations: 76 kB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.3268, allocations: 415.4 kB / 1.1 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.3273, allocations: 458.7 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008891/0.3282, allocations: 0.5984 MB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3299, allocations: 1.472 MB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.33, allocations: 0 / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.33, allocations: 0 / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.191e-05/0.33, 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.00334/0.3334, allocations: 1.624 MB / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3334, allocations: 12.03 kB / 1.104 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.83e-05/0.3335, allocations: 78.72 kB / 1.104 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3338, allocations: 135.3 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.3352, allocations: 0.8427 MB / 1.105 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.3352, allocations: 45.38 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3353, allocations: 64.38 kB / 1.105 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.3363, allocations: 0.6137 MB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3363, allocations: 4 kB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.546e-05/0.3364, allocations: 20 kB / 1.106 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3364, allocations: 12 kB / 1.106 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.3372, allocations: 0.5582 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.005158/0.3423, allocations: 3.267 MB / 1.109 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3437, allocations: 0.8481 MB / 1.11 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.3442, allocations: 372.8 kB / 1.111 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.3443, allocations: 28.34 kB / 1.111 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3444, allocations: 38.92 kB / 1.111 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.3444, allocations: 0 / 1.111 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001865/0.3462, allocations: 1.179 MB / 1.112 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3463, allocations: 59.34 kB / 1.112 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.3482, allocations: 1.224 MB / 1.113 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.3482, allocations: 41.7 kB / 1.113 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.3487, allocations: 464.7 kB / 1.114 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.3489, allocations: 177.5 kB / 1.114 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.3492, allocations: 210.5 kB / 1.114 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3494, allocations: 353.9 kB / 1.114 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.3502, allocations: 0.6465 MB / 1.115 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009897/0.3512, allocations: 0.963 MB / 1.116 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.353, allocations: 1.582 MB / 1.117 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.353, allocations: 4 kB / 1.117 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002432/0.3554, allocations: 1.787 MB / 1.119 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.3555, allocations: 8 kB / 1.119 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.444e-05/0.3555, allocations: 12.72 kB / 1.119 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.3558, allocations: 48.84 kB / 1.119 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.357, allocations: 267.6 kB / 1.119 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/0.3611, allocations: 6.843 MB / 1.126 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3622, allocations: 123 kB / 1.126 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/0.3623, allocations: 40 kB / 1.126 GB, free: 9.004 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.0004427/0.3628, allocations: 305.4 kB / 1.127 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.363, allocations: 114.4 kB / 1.127 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3643, allocations: 0.8375 MB / 1.128 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3643, allocations: 12 kB / 1.128 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3643, allocations: 0 / 1.128 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3643, allocations: 3.984 kB / 1.128 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.3655, allocations: 0.9151 MB / 1.128 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3656, allocations: 4 kB / 1.128 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/0.3661, allocations: 111.9 kB / 1.129 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.3662, allocations: 32.83 kB / 1.129 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.3663, allocations: 19.98 kB / 1.129 GB, free: 6.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.3673, allocations: 1.429 MB / 1.13 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3673, allocations: 3.984 kB / 1.13 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.3692, allocations: 1.37 MB / 1.131 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.3698, allocations: 263.4 kB / 1.132 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.37, allocations: 12.06 kB / 1.132 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.3706, allocations: 31.95 kB / 1.132 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.3708, allocations: 27.97 kB / 1.132 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3708, allocations: 15.98 kB / 1.132 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001257/0.372, allocations: 0.8154 MB / 1.132 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3721, allocations: 0 / 1.132 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001099/0.3732, 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.002476/0.3756, allocations: 2.093 MB / 1.135 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.3781, allocations: 1.498 MB / 1.136 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3781, allocations: 3.938 kB / 1.136 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.3787, allocations: 489.9 kB / 1.137 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3799, allocations: 218.7 kB / 1.137 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.3944, allocations: 11.53 MB / 1.148 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.3951, allocations: 1.102 MB / 1.149 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005681/0.3957, allocations: 203.1 kB / 1.15 GB, free: 460 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.3963, allocations: 399.3 kB / 1.15 GB, free: 60 kB / 0.9044 GB Notification: Performance of SimCode: time 7.81e-07/0.3963, allocations: 3.938 kB / 1.15 GB, free: 56 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/0.4546, allocations: 24.6 MB / 1.174 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.68, allocations: 11.28 kB / 1.174 GB, free: 7.738 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