Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001622/0.001622, allocations: 109 kB / 16.45 MB, free: 6.035 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.001789/0.001789, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.579/1.579, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8233, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006272/0.8296, allocations: 4.379 MB / 1.217 GB, free: 396 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005859/0.8354, allocations: 2.967 MB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007645/0.8362, allocations: 22.12 kB / 1.22 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.8373, allocations: 369.9 kB / 1.22 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.8388, allocations: 0.6506 MB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.8407, allocations: 0.6373 MB / 1.222 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.8435, allocations: 1.882 MB / 1.224 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.8438, allocations: 120 kB / 1.224 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.845, allocations: 0.5942 MB / 1.224 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000959/0.8459, allocations: 0.6974 MB / 1.225 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.8461, allocations: 75.47 kB / 1.225 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008369/0.8469, allocations: 422.2 kB / 1.225 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.8474, allocations: 474.9 kB / 1.226 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.8481, allocations: 0.5942 MB / 1.226 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.8503, allocations: 1.484 MB / 1.228 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8504, allocations: 0 / 1.228 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8504, allocations: 0 / 1.228 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.8504, allocations: 0 / 1.228 GB, free: 8.832 MB / 0.9356 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.003723/0.8541, allocations: 1.658 MB / 1.229 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8542, allocations: 12.92 kB / 1.229 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.8543, allocations: 78.7 kB / 1.23 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.8545, allocations: 144 kB / 1.23 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.856, allocations: 0.8514 MB / 1.231 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.8561, allocations: 45.38 kB / 1.231 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.8562, allocations: 68.31 kB / 1.231 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.8571, allocations: 0.6138 MB / 1.231 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.8571, allocations: 0 / 1.231 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.8572, allocations: 16 kB / 1.231 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.8572, allocations: 15.94 kB / 1.231 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.858, allocations: 0.5621 MB / 1.232 GB, free: 4.641 MB / 0.9356 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.004989/0.863, allocations: 3.283 MB / 1.235 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.8644, allocations: 0.8177 MB / 1.236 GB, free: 292 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.8649, allocations: 341.4 kB / 1.236 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/0.8649, allocations: 24.36 kB / 1.236 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.865, allocations: 38.94 kB / 1.236 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.214e-06/0.865, allocations: 0 / 1.236 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002145/0.8671, allocations: 1.187 MB / 1.237 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.8672, allocations: 55.41 kB / 1.237 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.8691, allocations: 1.231 MB / 1.239 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.8691, allocations: 41.7 kB / 1.239 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.8696, allocations: 473.2 kB / 1.239 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.8698, allocations: 182.4 kB / 1.239 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.8701, allocations: 210.6 kB / 1.239 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.8703, allocations: 357.9 kB / 1.24 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.8712, allocations: 0.6426 MB / 1.24 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.8723, allocations: 0.9747 MB / 1.241 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.8743, allocations: 1.582 MB / 1.243 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.8743, allocations: 4 kB / 1.243 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002704/0.877, allocations: 1.783 MB / 1.245 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.8771, allocations: 12 kB / 1.245 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/0.8771, allocations: 15.98 kB / 1.245 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.8773, allocations: 45.47 kB / 1.245 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.8785, allocations: 263.6 kB / 1.245 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/0.8833, allocations: 6.832 MB / 1.252 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.8845, allocations: 139.3 kB / 1.252 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.8846, allocations: 40 kB / 1.252 GB, free: 15.14 MB / 0.9669 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.0005221/0.8851, allocations: 312.9 kB / 1.252 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8853, allocations: 115.2 kB / 1.252 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.8867, allocations: 0.8502 MB / 1.253 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.8867, allocations: 4 kB / 1.253 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8867, allocations: 4 kB / 1.253 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8867, allocations: 3.984 kB / 1.253 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.8879, allocations: 0.9074 MB / 1.254 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8879, allocations: 4 kB / 1.254 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.8885, allocations: 107.9 kB / 1.254 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.8886, allocations: 32.83 kB / 1.254 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.8886, allocations: 23.98 kB / 1.254 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.8899, allocations: 1.434 MB / 1.256 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8899, allocations: 0 / 1.256 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.8917, allocations: 1.37 MB / 1.257 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.8922, allocations: 272 kB / 1.257 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.8923, allocations: 16 kB / 1.257 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.8928, allocations: 28.03 kB / 1.257 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.8929, allocations: 27.95 kB / 1.257 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.893, allocations: 12 kB / 1.257 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001224/0.8942, allocations: 0.8232 MB / 1.258 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8942, allocations: 0 / 1.258 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001128/0.8953, allocations: 363.6 kB / 1.258 GB, free: 8.199 MB / 0.9669 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.002758/0.8981, allocations: 2.104 MB / 1.26 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002699/0.9008, allocations: 1.381 MB / 1.262 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9008, allocations: 0 / 1.262 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.9014, allocations: 470.5 kB / 1.262 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.9027, allocations: 217.4 kB / 1.262 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.9199, allocations: 11.57 MB / 1.274 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.9207, allocations: 1.102 MB / 1.275 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005936/0.9213, allocations: 203.1 kB / 1.275 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.9219, allocations: 395.3 kB / 1.275 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of SimCode: time 1.343e-06/0.9219, allocations: 0 / 1.275 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.987, allocations: 24.33 MB / 1.299 GB, free: 14.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.54, allocations: 6.188 kB / 1.299 GB, free: 14.25 MB / 1.014 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 21.701948749367148]