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.001153/0.001153, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001135/0.001135, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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.472/2.472, allocations: 476.7 MB / 0.7628 GB, free: 15.26 MB / 0.6075 GB " [Timeout remaining time 177] 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.001758/0.001758, allocations: 59.91 kB / 1.107 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7489, allocations: 168.7 MB / 1.271 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004451/0.7534, allocations: 4.419 MB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.7571, allocations: 2.967 MB / 1.279 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.7575, allocations: 20.69 kB / 1.279 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007783/0.7583, allocations: 368.1 kB / 1.279 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.7593, allocations: 0.6637 MB / 1.28 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.7607, allocations: 0.6311 MB / 1.28 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.7626, allocations: 1.888 MB / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.7628, allocations: 119.7 kB / 1.282 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007059/0.7635, allocations: 0.5981 MB / 1.283 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.7643, allocations: 0.6958 MB / 1.283 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.7644, allocations: 77.84 kB / 1.283 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.7651, allocations: 421.6 kB / 1.284 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.7655, allocations: 478.3 kB / 1.284 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.766, allocations: 0.5918 MB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.7676, allocations: 1.478 MB / 1.286 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7676, allocations: 4 kB / 1.286 GB, free: 15.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7676, allocations: 3.938 kB / 1.286 GB, free: 15.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7676, allocations: 4 kB / 1.286 GB, free: 15.33 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.002786/0.7704, allocations: 1.652 MB / 1.288 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7705, allocations: 9.812 kB / 1.288 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.38e-05/0.7706, allocations: 85.41 kB / 1.288 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.7707, allocations: 139.3 kB / 1.288 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.772, allocations: 0.8492 MB / 1.289 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.772, allocations: 47.78 kB / 1.289 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.095e-05/0.7721, allocations: 63.41 kB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.773, allocations: 0.6193 MB / 1.29 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.773, allocations: 0 / 1.29 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.773, allocations: 18.41 kB / 1.29 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.773, allocations: 9.938 kB / 1.29 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/0.7737, allocations: 0.5611 MB / 1.29 GB, free: 13.14 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.004259/0.778, allocations: 3.278 MB / 1.294 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.7793, allocations: 0.8224 MB / 1.294 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.7797, allocations: 348.4 kB / 1.295 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.7798, allocations: 20.75 kB / 1.295 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7798, allocations: 37.12 kB / 1.295 GB, free: 10.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.7798, allocations: 0 / 1.295 GB, free: 10.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.001846/0.7817, allocations: 1.188 MB / 1.296 GB, free: 10.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.7817, allocations: 56.7 kB / 1.296 GB, free: 10.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.7834, allocations: 1.229 MB / 1.297 GB, free: 9.656 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.7834, allocations: 41.64 kB / 1.297 GB, free: 9.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.7838, allocations: 468.4 kB / 1.298 GB, free: 9.246 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.784, allocations: 183.4 kB / 1.298 GB, free: 9.102 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.7843, allocations: 217.5 kB / 1.298 GB, free: 9.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7844, allocations: 351.4 kB / 1.298 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.7852, allocations: 0.6416 MB / 1.299 GB, free: 8.484 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.7862, allocations: 0.9771 MB / 1.3 GB, free: 7.859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.7879, allocations: 1.58 MB / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7879, allocations: 4.016 kB / 1.301 GB, free: 6.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002289/0.7902, allocations: 1.789 MB / 1.303 GB, free: 6.324 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7902, allocations: 9.719 kB / 1.303 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.7903, allocations: 13.62 kB / 1.303 GB, free: 6.324 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.7904, allocations: 48.78 kB / 1.303 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.7915, allocations: 264.3 kB / 1.304 GB, free: 6.289 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.7958, allocations: 6.84 MB / 1.31 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.7967, allocations: 131.4 kB / 1.31 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.7968, allocations: 40.95 kB / 1.31 GB, free: 15.85 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.0004491/0.7972, allocations: 305.2 kB / 1.311 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.7974, allocations: 123.4 kB / 1.311 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.7986, allocations: 0.8444 MB / 1.312 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7986, allocations: 8 kB / 1.312 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7986, allocations: 1.25 kB / 1.312 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.7986, allocations: 2.484 kB / 1.312 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.7997, allocations: 0.9189 MB / 1.313 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7997, allocations: 0 / 1.313 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.8002, allocations: 110.2 kB / 1.313 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.8003, allocations: 39.45 kB / 1.313 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.8003, allocations: 16.84 kB / 1.313 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.8013, allocations: 1.437 MB / 1.314 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8013, allocations: 0 / 1.314 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.8029, allocations: 1.367 MB / 1.315 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.8033, allocations: 274.8 kB / 1.316 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.8034, allocations: 15.52 kB / 1.316 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.804, allocations: 24.81 kB / 1.316 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.804, allocations: 27.44 kB / 1.316 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.8041, allocations: 13.52 kB / 1.316 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001144/0.8052, allocations: 0.8169 MB / 1.317 GB, free: 12.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.8052, allocations: 0 / 1.317 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00105/0.8063, allocations: 367 kB / 1.317 GB, free: 12.31 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.002372/0.8086, allocations: 2.103 MB / 1.319 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.8109, allocations: 1.392 MB / 1.32 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8109, allocations: 0.6875 kB / 1.32 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.8115, allocations: 463 kB / 1.321 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8125, allocations: 225.9 kB / 1.321 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.8275, allocations: 11.58 MB / 1.332 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.8284, allocations: 1.101 MB / 1.333 GB, free: 3.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006188/0.829, allocations: 209.3 kB / 1.334 GB, free: 3.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.8296, allocations: 399.8 kB / 1.334 GB, free: 3.633 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.8296, allocations: 0 / 1.334 GB, free: 3.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/0.888, allocations: 24.32 MB / 1.358 GB, free: 10.74 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.13, allocations: 8.25 kB / 1.358 GB, free: 10.74 MB / 1.045 GB " [Timeout remaining time 287] (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 --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/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: 18.448654144998727]