Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001314/0.001314, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001387/0.001387, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.945/2.945, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",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.002269/0.002269, allocations: 67.89 kB / 1.149 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9212, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003751/0.925, allocations: 3.78 MB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003497/0.9285, allocations: 2.585 MB / 1.328 GB, free: 20.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.9288, allocations: 19.94 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.9295, allocations: 249 kB / 1.328 GB, free: 20.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000847/0.9303, allocations: 0.4986 MB / 1.328 GB, free: 19.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.9315, allocations: 0.542 MB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.9332, allocations: 1.388 MB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.9335, allocations: 99.78 kB / 1.33 GB, free: 19.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.9342, allocations: 442.5 kB / 1.331 GB, free: 18.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.9348, allocations: 493.8 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.9349, allocations: 55.25 kB / 1.331 GB, free: 18.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.9351, allocations: 67.23 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.9355, allocations: 387.4 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.9359, allocations: 469.7 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.9369, allocations: 0.9607 MB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9369, allocations: 0.8438 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9369, allocations: 0.9688 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.937, allocations: 0 / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002221/0.9392, allocations: 1.307 MB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9392, allocations: 13.55 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.919e-05/0.9392, allocations: 17.7 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.9393, allocations: 69.17 kB / 1.335 GB, free: 16.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.9396, allocations: 111.8 kB / 1.335 GB, free: 16.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.9407, allocations: 0.6752 MB / 1.335 GB, free: 16.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/0.9408, allocations: 37.31 kB / 1.335 GB, free: 16.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.9409, allocations: 66.2 kB / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.9416, allocations: 407.4 kB / 1.336 GB, free: 16.18 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.9417, allocations: 4.438 kB / 1.336 GB, free: 16.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.9417, allocations: 16.12 kB / 1.336 GB, free: 16.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.9417, allocations: 11.75 kB / 1.336 GB, free: 16.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/0.9422, allocations: 237.9 kB / 1.336 GB, free: 16.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.9452, allocations: 2.498 MB / 1.338 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.9466, allocations: 0.5265 MB / 1.339 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.9468, allocations: 150.4 kB / 1.339 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.9468, allocations: 7.609 kB / 1.339 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.9468, allocations: 33.38 kB / 1.339 GB, free: 13.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.9468, allocations: 0 / 1.339 GB, free: 13.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001575/0.9484, allocations: 0.8871 MB / 1.34 GB, free: 13.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.9484, allocations: 58.69 kB / 1.34 GB, free: 13.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.9497, allocations: 0.9331 MB / 1.341 GB, free: 13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.9497, allocations: 41.55 kB / 1.341 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.95, allocations: 365.5 kB / 1.341 GB, free: 12.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.9501, allocations: 124.1 kB / 1.342 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.9503, allocations: 171.3 kB / 1.342 GB, free: 12.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9504, allocations: 395.2 kB / 1.342 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.9508, allocations: 241.8 kB / 1.342 GB, free: 12.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.9513, allocations: 0.6464 MB / 1.343 GB, free: 11.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.9521, allocations: 0.9027 MB / 1.344 GB, free: 10.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.9521, allocations: 4.094 kB / 1.344 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001502/0.9536, allocations: 1.017 MB / 1.345 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.9536, allocations: 16.52 kB / 1.345 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.9536, allocations: 13.91 kB / 1.345 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/0.954, allocations: 118.8 kB / 1.345 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.9546, allocations: 192.9 kB / 1.345 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.957, allocations: 4.473 MB / 1.349 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.958, allocations: 121.2 kB / 1.35 GB, free: 5.801 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.958, allocations: 43.59 kB / 1.35 GB, free: 5.793 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.9583, allocations: 268.8 kB / 1.35 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9585, allocations: 91.36 kB / 1.35 GB, free: 5.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.9586, allocations: 81.09 kB / 1.35 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9586, allocations: 3.531 kB / 1.35 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.9586, allocations: 5.031 kB / 1.35 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9586, allocations: 2.875 kB / 1.35 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/0.9593, allocations: 0.6635 MB / 1.351 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9593, allocations: 1.062 kB / 1.351 GB, free: 5.137 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.9596, allocations: 62.2 kB / 1.351 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.9599, allocations: 108 kB / 1.351 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.96, allocations: 9.656 kB / 1.351 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.962, allocations: 4.451 MB / 1.355 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.962, allocations: 3.938 kB / 1.355 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009848/0.963, allocations: 0.7401 MB / 1.356 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.9633, allocations: 213.1 kB / 1.356 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.9634, allocations: 9.688 kB / 1.356 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.9638, allocations: 23.84 kB / 1.356 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.9639, allocations: 23.12 kB / 1.356 GB, free: 180 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.9639, allocations: 10.42 kB / 1.356 GB, free: 176 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008548/0.9648, allocations: 0.6282 MB / 1.357 GB, free: 15.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9648, allocations: 0 / 1.357 GB, free: 15.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009066/0.9657, allocations: 269 kB / 1.357 GB, free: 15.89 MB / 1.076 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],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.00146/0.9672, allocations: 1.295 MB / 1.358 GB, free: 14.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.9686, allocations: 0.9066 MB / 1.359 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.9686, allocations: 0 / 1.359 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.9692, allocations: 0.5148 MB / 1.36 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/0.9701, allocations: 182.8 kB / 1.36 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.9812, allocations: 7.85 MB / 1.368 GB, free: 9.336 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.9819, allocations: 0.9871 MB / 1.369 GB, free: 8.613 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005023/0.9824, allocations: 151.7 kB / 1.369 GB, free: 8.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.9828, allocations: 279.4 kB / 1.369 GB, free: 8.379 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/0.9828, allocations: 0 / 1.369 GB, free: 8.379 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/1.041, allocations: 17.53 MB / 1.386 GB, free: 6.789 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.23, allocations: 14.41 kB / 1.386 GB, free: 6.781 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.76052933098981]