Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.958/2.958, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 71.88 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005338/1.016, allocations: 4.384 MB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004889/1.02, allocations: 2.962 MB / 1.276 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/1.021, allocations: 24.78 kB / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/1.022, allocations: 369.8 kB / 1.276 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/1.024, allocations: 0.6492 MB / 1.277 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/1.025, allocations: 0.63 MB / 1.278 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0024/1.028, allocations: 1.884 MB / 1.279 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/1.028, allocations: 120 kB / 1.279 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/1.029, allocations: 0.6021 MB / 1.28 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.03, allocations: 0.6864 MB / 1.281 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/1.03, allocations: 76.81 kB / 1.281 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/1.031, allocations: 424.4 kB / 1.281 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/1.032, allocations: 473.2 kB / 1.282 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/1.032, allocations: 0.5977 MB / 1.282 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/1.035, allocations: 1.48 MB / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.035, allocations: 0 / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.035, allocations: 0 / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.291e-05/1.035, allocations: 0 / 1.284 GB, free: 15.19 MB / 1.014 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.00374/1.039, allocations: 1.655 MB / 1.285 GB, free: 14.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.039, allocations: 14.19 kB / 1.285 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.822e-05/1.039, allocations: 86.19 kB / 1.285 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/1.039, allocations: 139 kB / 1.286 GB, free: 13.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/1.04, allocations: 0.8486 MB / 1.286 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.041, allocations: 46.16 kB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/1.041, allocations: 64.5 kB / 1.286 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/1.042, allocations: 0.6174 MB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.042, allocations: 7.469 kB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/1.042, allocations: 13.97 kB / 1.287 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/1.042, allocations: 9.156 kB / 1.287 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/1.043, allocations: 0.5561 MB / 1.288 GB, free: 13 MB / 1.014 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.005877/1.049, allocations: 3.28 MB / 1.291 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/1.05, allocations: 0.8095 MB / 1.292 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/1.05, allocations: 346.8 kB / 1.292 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/1.05, allocations: 29.03 kB / 1.292 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.051, allocations: 40.98 kB / 1.292 GB, free: 10.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/1.051, allocations: 0 / 1.292 GB, free: 10.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002481/1.053, allocations: 1.184 MB / 1.293 GB, free: 10.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.053, allocations: 57.33 kB / 1.293 GB, free: 10 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.055, allocations: 1.233 MB / 1.294 GB, free: 9.516 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.055, allocations: 44.61 kB / 1.294 GB, free: 9.469 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/1.056, allocations: 465.5 kB / 1.295 GB, free: 9.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.056, allocations: 183.8 kB / 1.295 GB, free: 8.961 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/1.056, allocations: 215.3 kB / 1.295 GB, free: 8.863 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.056, allocations: 353.1 kB / 1.296 GB, free: 8.539 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008705/1.057, allocations: 0.6412 MB / 1.296 GB, free: 8.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.058, allocations: 0.9733 MB / 1.297 GB, free: 7.723 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/1.06, allocations: 1.584 MB / 1.299 GB, free: 6.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.06, allocations: 2.844 kB / 1.299 GB, free: 6.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003095/1.064, allocations: 1.787 MB / 1.301 GB, free: 6.188 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.064, allocations: 9.344 kB / 1.301 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/1.064, allocations: 13.27 kB / 1.301 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/1.064, allocations: 43.75 kB / 1.301 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.065, allocations: 270.7 kB / 1.301 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/1.07, allocations: 6.847 MB / 1.308 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.072, allocations: 131.2 kB / 1.308 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/1.072, allocations: 41.39 kB / 1.308 GB, free: 15.7 MB / 1.029 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.0005705/1.072, allocations: 308.7 kB / 1.308 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/1.072, allocations: 120.1 kB / 1.308 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.074, allocations: 0.8412 MB / 1.309 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.074, allocations: 4.125 kB / 1.309 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.074, allocations: 0 / 1.309 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.074, allocations: 4.031 kB / 1.309 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/1.075, allocations: 0.9135 MB / 1.31 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.075, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/1.076, allocations: 114.9 kB / 1.31 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/1.076, allocations: 31.33 kB / 1.31 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/1.076, allocations: 16.42 kB / 1.31 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/1.077, allocations: 1.439 MB / 1.311 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.077, allocations: 0.6562 kB / 1.311 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/1.079, allocations: 1.375 MB / 1.313 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/1.08, allocations: 268.4 kB / 1.313 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.08, allocations: 11.23 kB / 1.313 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/1.081, allocations: 32.16 kB / 1.313 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.081, allocations: 32.59 kB / 1.313 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/1.081, allocations: 9.578 kB / 1.313 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001364/1.082, allocations: 0.8243 MB / 1.314 GB, free: 12.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.082, allocations: 0 / 1.314 GB, free: 12.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001435/1.084, allocations: 366.6 kB / 1.314 GB, free: 12.17 MB / 1.029 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.003221/1.087, allocations: 2.099 MB / 1.316 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00273/1.09, allocations: 1.386 MB / 1.318 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.09, allocations: 1.094 kB / 1.318 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006731/1.09, allocations: 468.9 kB / 1.318 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.092, allocations: 223.5 kB / 1.318 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.109, allocations: 11.57 MB / 1.33 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/1.11, allocations: 1.101 MB / 1.331 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007052/1.11, allocations: 201.8 kB / 1.331 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/1.111, allocations: 398.7 kB / 1.331 GB, free: 3.504 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.111, allocations: 0 / 1.331 GB, free: 3.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/1.184, allocations: 24.33 MB / 1.355 GB, free: 10.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.58, allocations: 1.844 kB / 1.355 GB, free: 10.89 MB / 1.045 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.351898218970746]