Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008339/0.0008339, 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.0008283/0.0008283, allocations: 169.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.8559/0.8559, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.152e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003676/0.003697, allocations: 3.975 MB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.007376, allocations: 2.855 MB / 0.9876 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.007867, allocations: 31.75 kB / 0.9876 GB, free: 11.74 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.008684, allocations: 353.5 kB / 0.988 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.009837, allocations: 0.7152 MB / 0.9887 GB, free: 10.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.01103, allocations: 0.6681 MB / 0.9893 GB, free: 10.01 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.01277, allocations: 1.944 MB / 0.9912 GB, free: 8.059 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.01302, allocations: 122.4 kB / 0.9913 GB, free: 7.926 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.01425, allocations: 0.8146 MB / 0.9921 GB, free: 7.109 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.01501, allocations: 0.6195 MB / 0.9927 GB, free: 6.488 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.01514, allocations: 76 kB / 0.9928 GB, free: 6.414 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.01574, allocations: 411.4 kB / 0.9932 GB, free: 6.012 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.01609, allocations: 0.4986 MB / 0.9937 GB, free: 5.512 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.01645, allocations: 423 kB / 0.9941 GB, free: 5.098 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.01807, allocations: 1.515 MB / 0.9956 GB, free: 3.578 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01807, allocations: 0 / 0.9956 GB, free: 3.578 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/0.01807, allocations: 0 / 0.9956 GB, free: 3.578 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.234e-05/0.0181, allocations: 0 / 0.9956 GB, free: 3.578 MB / 0.948 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.002333/0.02044, allocations: 1.586 MB / 0.9971 GB, free: 1.957 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.02048, allocations: 12.03 kB / 0.9971 GB, free: 1.945 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.02055, allocations: 78.72 kB / 0.9972 GB, free: 1.859 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.02086, allocations: 152 kB / 0.9973 GB, free: 1.711 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.02187, allocations: 0.785 MB / 0.9981 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.0219, allocations: 45.38 kB / 0.9981 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.02197, allocations: 60.38 kB / 0.9982 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.02257, allocations: 0.6104 MB / 0.9988 GB, free: 160 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.02259, allocations: 4.125 kB / 0.9988 GB, free: 156 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.02262, allocations: 31.88 kB / 0.9988 GB, free: 124 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.02263, allocations: 12 kB / 0.9988 GB, free: 112 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.02314, allocations: 0.5543 MB / 0.9994 GB, free: 15.55 MB / 0.9636 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.002733/0.02587, allocations: 2.298 MB / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.02674, allocations: 0.8088 MB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.02703, allocations: 345.4 kB / 1.003 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.02709, allocations: 24.36 kB / 1.003 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.02711, allocations: 42.92 kB / 1.003 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=45): time 2.975e-06/0.02711, allocations: 0 / 1.003 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001337/0.02845, allocations: 1.111 MB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.02849, allocations: 59.34 kB / 1.004 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.02972, allocations: 1.243 MB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.02978, allocations: 41.7 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.03005, allocations: 473.2 kB / 1.006 GB, free: 9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.03019, allocations: 186.5 kB / 1.006 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.03037, allocations: 202.6 kB / 1.006 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.03048, allocations: 353.9 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.03102, allocations: 0.6387 MB / 1.007 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.0317, allocations: 0.971 MB / 1.008 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.03286, allocations: 1.588 MB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.03287, allocations: 4 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001703/0.03457, allocations: 1.795 MB / 1.011 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.0346, allocations: 12 kB / 1.011 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.03463, allocations: 12 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.0348, allocations: 44.83 kB / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.03541, allocations: 275.9 kB / 1.012 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.03807, allocations: 6.721 MB / 1.018 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.03884, allocations: 135 kB / 1.018 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.03889, allocations: 44 kB / 1.018 GB, free: 11.43 MB / 0.9792 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.0003527/0.03924, allocations: 300.2 kB / 1.019 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.03938, allocations: 127.2 kB / 1.019 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.04018, allocations: 0.8466 MB / 1.02 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.04019, allocations: 4 kB / 1.02 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.04019, allocations: 0 / 1.02 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0402, allocations: 0 / 1.02 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.04092, allocations: 0.739 MB / 1.02 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.04092, allocations: 0 / 1.02 GB, free: 9.359 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.04121, allocations: 111.8 kB / 1.02 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.755e-05/0.0413, allocations: 36.83 kB / 1.02 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.04133, allocations: 19.98 kB / 1.02 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006919/0.04203, allocations: 1.327 MB / 1.022 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.04203, allocations: 4.031 kB / 1.022 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.04323, allocations: 1.382 MB / 1.023 GB, free: 6.344 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.04359, allocations: 187.1 kB / 1.023 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.04366, allocations: 8 kB / 1.023 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.04399, allocations: 39.89 kB / 1.023 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.04406, allocations: 27.94 kB / 1.023 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.04407, allocations: 12 kB / 1.023 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008037/0.04488, allocations: 0.8311 MB / 1.024 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.04488, allocations: 0 / 1.024 GB, free: 5.238 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008114/0.04569, allocations: 371.6 kB / 1.025 GB, free: 4.875 MB / 0.9792 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.001713/0.0474, allocations: 2.108 MB / 1.027 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.04905, allocations: 1.389 MB / 1.028 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.04905, allocations: 4 kB / 1.028 GB, free: 1.32 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.04944, allocations: 470 kB / 1.028 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.05031, allocations: 231.6 kB / 1.029 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.06172, allocations: 11.36 MB / 1.04 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.0621, allocations: 0.5029 MB / 1.04 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.06257, allocations: 207.1 kB / 1.04 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.06296, allocations: 400.4 kB / 1.041 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of SimCode: time 1.603e-06/0.06296, allocations: 0 / 1.041 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/0.4723, allocations: 26.43 MB / 1.067 GB, free: 99.21 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.739, allocations: 9.203 kB / 1.067 GB, free: 99.21 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.722393192350864]