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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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.005431/0.005431, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.001277/0.001277, allocations: 196.7 kB / 16.67 MB, free: 5.949 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.12 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3044, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005144/0.3095, allocations: 4.365 MB / 1.212 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.3142, allocations: 2.945 MB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.3148, allocations: 19.88 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009807/0.3157, allocations: 373.6 kB / 1.215 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.3171, allocations: 0.6396 MB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3186, allocations: 0.6392 MB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.3206, allocations: 1.879 MB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/0.3209, allocations: 173.9 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.3219, allocations: 0.6035 MB / 1.219 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.323, allocations: 0.6576 MB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.3232, allocations: 76 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.3239, allocations: 411.4 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.3244, allocations: 462.7 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.3251, allocations: 0.6101 MB / 1.221 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.3267, allocations: 1.472 MB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3267, allocations: 4 kB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3267, allocations: 0 / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.3267, allocations: 0 / 1.222 GB, free: 10.8 MB / 0.9825 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.003216/0.3299, allocations: 1.612 MB / 1.224 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.33, allocations: 8.625 kB / 1.224 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3301, allocations: 86.7 kB / 1.224 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.3304, allocations: 135.3 kB / 1.224 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.3319, allocations: 0.831 MB / 1.225 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.3319, allocations: 49.31 kB / 1.225 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.332, allocations: 64.36 kB / 1.225 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008969/0.3329, allocations: 0.6176 MB / 1.225 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.333, allocations: 4 kB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.333, allocations: 20 kB / 1.226 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.333, allocations: 12 kB / 1.226 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.3338, allocations: 0.5543 MB / 1.226 GB, free: 6.684 MB / 0.9825 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.00488/0.3387, allocations: 3.27 MB / 1.229 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3401, allocations: 0.853 MB / 1.23 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.3406, allocations: 366.5 kB / 1.23 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.3407, allocations: 24.34 kB / 1.23 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3407, allocations: 46.88 kB / 1.231 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.355e-06/0.3407, allocations: 0 / 1.231 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.001948/0.3427, allocations: 1.172 MB / 1.232 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3427, allocations: 59.34 kB / 1.232 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.3444, allocations: 1.235 MB / 1.233 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.3445, allocations: 37.7 kB / 1.233 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.3448, allocations: 472.7 kB / 1.233 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.345, allocations: 169.6 kB / 1.234 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.3453, allocations: 210.5 kB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3454, allocations: 353.9 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/0.3462, allocations: 0.6426 MB / 1.235 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.3472, allocations: 0.9708 MB / 1.236 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.3489, allocations: 1.582 MB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.3489, allocations: 8 kB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002635/0.3516, allocations: 1.779 MB / 1.239 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3516, allocations: 12 kB / 1.239 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.3516, allocations: 12 kB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.3518, allocations: 48.83 kB / 1.239 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.353, allocations: 267.6 kB / 1.239 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.3567, allocations: 6.836 MB / 1.246 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3578, allocations: 130.6 kB / 1.246 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.3579, allocations: 43.94 kB / 1.246 GB, free: 1.148 MB / 0.9981 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.0004302/0.3583, allocations: 305.6 kB / 1.246 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.3585, allocations: 110.5 kB / 1.247 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6485/1.007, allocations: 0.8371 MB / 1.247 GB, free: 38.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.007, allocations: 4.906 kB / 1.247 GB, free: 38.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.007, allocations: 1.391 kB / 1.247 GB, free: 38.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.007, allocations: 1.828 kB / 1.247 GB, free: 38.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.008, allocations: 0.9134 MB / 1.248 GB, free: 38.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.008, allocations: 0.8438 kB / 1.248 GB, free: 38.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/1.009, allocations: 111.1 kB / 1.248 GB, free: 38.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/1.009, allocations: 36.95 kB / 1.248 GB, free: 38.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/1.009, allocations: 16.22 kB / 1.248 GB, free: 38.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007575/1.01, allocations: 1.434 MB / 1.25 GB, free: 37.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.01, allocations: 0.875 kB / 1.25 GB, free: 37.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.012, allocations: 1.365 MB / 1.251 GB, free: 37.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/1.012, allocations: 272.6 kB / 1.251 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.012, allocations: 13.5 kB / 1.251 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/1.013, allocations: 25.28 kB / 1.251 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/1.013, allocations: 27.58 kB / 1.251 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/1.013, allocations: 11.91 kB / 1.251 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009684/1.014, allocations: 0.82 MB / 1.252 GB, free: 37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.014, allocations: 1.781 kB / 1.252 GB, free: 37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009166/1.015, allocations: 371.3 kB / 1.253 GB, free: 37 MB / 0.9981 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.001854/1.017, allocations: 2.085 MB / 1.255 GB, free: 36.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002192/1.019, allocations: 1.503 MB / 1.256 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.019, allocations: 0 / 1.256 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004899/1.019, allocations: 477.4 kB / 1.257 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009798/1.02, allocations: 232.7 kB / 1.257 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.037, allocations: 11.52 MB / 1.268 GB, free: 32.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/1.038, allocations: 1.097 MB / 1.269 GB, free: 31.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006805/1.038, allocations: 203 kB / 1.269 GB, free: 31.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.039, allocations: 396.6 kB / 1.27 GB, free: 31.91 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.039, allocations: 1.438 kB / 1.27 GB, free: 31.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/1.104, allocations: 24.61 MB / 1.294 GB, free: 27.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.73, allocations: 12.7 kB / 1.294 GB, free: 27.89 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches