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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8727/0.8727, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.734/1.734, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.652e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004038/0.004074, allocations: 3.965 MB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00352/0.007595, allocations: 2.863 MB / 1.006 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.007985, allocations: 27.75 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.008776, allocations: 353.6 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.009961, allocations: 0.7113 MB / 1.007 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.01109, allocations: 0.6701 MB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.01275, allocations: 1.943 MB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.01297, allocations: 127.1 kB / 1.01 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008623/0.01384, allocations: 0.8184 MB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.01443, allocations: 0.6156 MB / 1.011 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.474e-05/0.01452, allocations: 80 kB / 1.011 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005492/0.01506, allocations: 419.3 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.01537, allocations: 0.4947 MB / 1.012 GB, free: 436 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01565, allocations: 426.9 kB / 1.013 GB, free: 8 kB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.01673, allocations: 1.503 MB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01673, allocations: 0 / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01673, allocations: 4 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.01674, allocations: 0 / 1.014 GB, free: 14.5 MB / 0.9792 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.001802/0.01854, allocations: 1.594 MB / 1.016 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01859, allocations: 8.031 kB / 1.016 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.01866, allocations: 82.72 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.0189, allocations: 148 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/0.01987, allocations: 0.7734 MB / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.0199, allocations: 49.36 kB / 1.017 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.01996, allocations: 64.33 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.02054, allocations: 0.6143 MB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.02055, allocations: 4.188 kB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.02058, allocations: 23.94 kB / 1.018 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.02059, allocations: 8 kB / 1.018 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.02108, allocations: 0.5582 MB / 1.018 GB, free: 10.48 MB / 0.9792 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.002451/0.02353, allocations: 2.291 MB / 1.02 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008526/0.02439, allocations: 0.8103 MB / 1.021 GB, free: 7.309 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.02467, allocations: 345.4 kB / 1.021 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.02473, allocations: 24.36 kB / 1.021 GB, free: 6.945 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.02475, allocations: 38.94 kB / 1.021 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.02475, allocations: 0 / 1.021 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.0012/0.02595, allocations: 1.109 MB / 1.023 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.02599, allocations: 59.34 kB / 1.023 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.02722, allocations: 1.243 MB / 1.024 GB, free: 4.457 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.02726, allocations: 41.7 kB / 1.024 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.0275, allocations: 477.3 kB / 1.024 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.02762, allocations: 178.4 kB / 1.025 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.02779, allocations: 210.5 kB / 1.025 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.02788, allocations: 349.9 kB / 1.025 GB, free: 3.203 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.02839, allocations: 0.6426 MB / 1.026 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.02902, allocations: 0.9749 MB / 1.027 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.03012, allocations: 1.588 MB / 1.028 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.03013, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001606/0.03174, allocations: 1.791 MB / 1.03 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.03176, allocations: 8 kB / 1.03 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.03179, allocations: 12 kB / 1.03 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.03196, allocations: 48.83 kB / 1.03 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.03256, allocations: 272 kB / 1.03 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.03528, allocations: 6.736 MB / 1.037 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.03607, allocations: 131 kB / 1.037 GB, free: 6.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.03612, allocations: 43.98 kB / 1.037 GB, free: 6.348 MB / 0.9948 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.0003888/0.03651, allocations: 305.9 kB / 1.037 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.03665, allocations: 119.2 kB / 1.037 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008867/0.03754, allocations: 0.8414 MB / 1.038 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.03754, allocations: 4 kB / 1.038 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03755, allocations: 0 / 1.038 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.03755, allocations: 0 / 1.038 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.03822, allocations: 0.7429 MB / 1.039 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03823, allocations: 0 / 1.039 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.0385, allocations: 119.8 kB / 1.039 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-05/0.03859, allocations: 32.83 kB / 1.039 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.03862, allocations: 15.98 kB / 1.039 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006786/0.0393, allocations: 1.331 MB / 1.04 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0393, allocations: 4.156 kB / 1.04 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.04038, allocations: 1.374 MB / 1.042 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.04066, allocations: 195 kB / 1.042 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.04073, allocations: 12 kB / 1.042 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.04104, allocations: 39.89 kB / 1.042 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.0411, allocations: 31.94 kB / 1.042 GB, free: 1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.04112, allocations: 8 kB / 1.042 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000745/0.04186, allocations: 0.8312 MB / 1.043 GB, free: 160 kB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.04186, allocations: 7.938 kB / 1.043 GB, free: 152 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007465/0.04261, allocations: 363.6 kB / 1.043 GB, free: 15.79 MB / 1.01 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.001692/0.0443, allocations: 2.106 MB / 1.045 GB, free: 13.66 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.04583, allocations: 1.389 MB / 1.047 GB, free: 12.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.04583, allocations: 4 kB / 1.047 GB, free: 12.24 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.0462, allocations: 466 kB / 1.047 GB, free: 11.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.04693, allocations: 227.4 kB / 1.047 GB, free: 11.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3984/0.4454, allocations: 11.36 MB / 1.058 GB, free: 96.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.4456, allocations: 0.5036 MB / 1.059 GB, free: 96.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004658/0.4461, allocations: 206.8 kB / 1.059 GB, free: 96.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.4464, allocations: 398.3 kB / 1.059 GB, free: 96.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/0.4464, allocations: 0 / 1.059 GB, free: 96.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.4875, allocations: 26.42 MB / 1.085 GB, free: 94.09 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.658, allocations: 6.891 kB / 1.085 GB, free: 94.09 MB / 1.01 GB " [Timeout remaining time 291] (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 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.72986054327339]