Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.001616/0.001616, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002026/0.002026, allocations: 215.3 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 71.28 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3437, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder): time 0.003729/0.3474, allocations: 1.883 MB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3488, allocations: 0.6392 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3489, allocations: 7.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.3493, allocations: 59.67 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.3495, allocations: 71.58 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3498, allocations: 75.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008122/0.3506, allocations: 0.7019 MB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3507, allocations: 25.52 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005098/0.3512, allocations: 239.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005212/0.3518, allocations: 263.4 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.3519, allocations: 48 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.352, allocations: 52 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.3523, allocations: 187.5 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.3526, allocations: 191.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.3532, allocations: 0.4985 MB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3532, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3532, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.3532, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002188/0.3554, allocations: 0.696 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3554, allocations: 12.03 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.3555, allocations: 50.73 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.3577, allocations: 232.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.3584, allocations: 254 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.3584, allocations: 28.17 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.3585, allocations: 31.95 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.3589, allocations: 179.4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3589, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3589, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3589, allocations: 4 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.3592, allocations: 144.5 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.3637, allocations: 1.035 MB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3651, allocations: 462.1 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.3654, allocations: 104.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3654, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.427e-05/0.3655, allocations: 38.5 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.514e-06/0.3655, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0008485/0.3663, allocations: 355.3 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3664, allocations: 51.41 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.3667, allocations: 305.6 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.3668, allocations: 33.7 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.367, allocations: 137 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3671, allocations: 75.34 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.3673, allocations: 122.1 kB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002741/0.3676, allocations: 342.8 kB / 1.334 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.3682, allocations: 268.8 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.3688, allocations: 371.3 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.3695, allocations: 441.7 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.3695, allocations: 4.031 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001293/0.3708, allocations: 0.6886 MB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3709, allocations: 4 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3709, allocations: 0 / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3709, allocations: 7.984 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.3716, allocations: 119.8 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.3716, allocations: 4 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3728, allocations: 83.39 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.3729, allocations: 19.98 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.3731, allocations: 168.6 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.3732, allocations: 27.8 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.3733, allocations: 22.12 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3733, allocations: 4 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3733, allocations: 0 / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3733, allocations: 0 / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3737, allocations: 280.5 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3737, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.374, allocations: 43.91 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.374, allocations: 0 / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.374, allocations: 12 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.374, allocations: 0 / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.374, allocations: 11.92 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.3747, allocations: 492.7 kB / 1.337 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.3748, allocations: 27.8 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.3749, allocations: 8 kB / 1.337 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.3754, allocations: 15.98 kB / 1.337 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.3754, allocations: 11.97 kB / 1.337 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3754, allocations: 4 kB / 1.337 GB, free: 5.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002228/0.3757, allocations: 193.2 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3757, allocations: 4 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005876/0.3762, allocations: 203.9 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con.T[5],con.T[6],con.T[7],con.T[8]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.3774, allocations: 1.023 MB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009976/0.3784, allocations: 434.6 kB / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3784, allocations: 0 / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3786, allocations: 113.2 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3791, allocations: 64.7 kB / 1.339 GB, free: 3.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.3859, allocations: 4.329 MB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3861, allocations: 161 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003443/0.3865, allocations: 94.2 kB / 1.344 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3867, allocations: 87.39 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of SimCode: time 1.523e-06/0.3867, allocations: 0 / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.4287, allocations: 10.24 MB / 1.354 GB, free: 4.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.06, allocations: 11.67 kB / 1.354 GB, free: 4.633 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerCylinder.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.822045741137117]