Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.001389/0.001389, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001693/0.001693, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.616/1.616, allocations: 230.6 MB / 256 MB, free: 7.973 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.425/3.425, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.002071/0.002071, allocations: 66.23 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4066, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003053/0.4097, allocations: 1.698 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.4122, allocations: 1.426 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.4124, allocations: 7.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.413, allocations: 83.58 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.4132, allocations: 75.52 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.4142, allocations: 291.4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.4145, allocations: 183.2 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.4145, allocations: 9.672 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.4147, allocations: 83.69 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.4149, allocations: 87.61 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4149, allocations: 8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.4156, allocations: 359.4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.4158, allocations: 79.66 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.4159, allocations: 83.48 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.4165, allocations: 398.5 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4165, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4165, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.4165, allocations: 0 / 1.331 GB, free: 13.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001026/0.4175, allocations: 0.4888 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4175, allocations: 11.97 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.4176, allocations: 34.75 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.4177, allocations: 28.75 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.4182, allocations: 226.6 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.4183, allocations: 141.1 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.4183, allocations: 384 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.4186, allocations: 93.59 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4186, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4186, allocations: 4 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4186, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.4189, allocations: 103.9 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4193, allocations: 220.6 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.4207, allocations: 290.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4209, allocations: 60.83 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.421, allocations: 31.81 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.4211, allocations: 30.56 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4211, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005943/0.4217, allocations: 209.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.4217, allocations: 55.41 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.4221, allocations: 308.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4221, allocations: 25.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4222, allocations: 124.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4222, allocations: 15.86 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.4223, allocations: 61.69 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4225, allocations: 334.8 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.4227, allocations: 151.9 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4229, allocations: 155.7 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.4233, allocations: 301.4 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4233, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005593/0.4239, allocations: 401.1 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4239, allocations: 4 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4239, allocations: 4 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4239, allocations: 4 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.424, allocations: 15.98 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.424, allocations: 0 / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4242, allocations: 43.55 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4242, allocations: 4 kB / 1.334 GB, free: 8.957 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001307/0.4243, allocations: 134.3 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4243, allocations: 27.78 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.4247, allocations: 171.6 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4247, allocations: 4 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4247, allocations: 0 / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4247, allocations: 0 / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.425, allocations: 212.6 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.425, allocations: 7.938 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.4251, allocations: 15.98 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4251, allocations: 4 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4251, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4251, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4251, allocations: 0 / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.4254, allocations: 196.8 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.4255, allocations: 27.78 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.4255, allocations: 4 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.4256, allocations: 4 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.4256, allocations: 3.984 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4256, allocations: 4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001875/0.4258, allocations: 199.1 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4258, allocations: 0 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004462/0.4263, allocations: 115.8 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001045/0.4273, allocations: 0.8774 MB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.4278, allocations: 311.3 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4278, allocations: 0 / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.428, allocations: 63.91 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.4283, allocations: 38.52 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.4315, allocations: 2.706 MB / 1.339 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.4319, allocations: 0.7357 MB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.634e-05/0.432, allocations: 29.36 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.4321, allocations: 55.42 kB / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.4321, allocations: 0 / 1.34 GB, free: 2.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.4771, allocations: 5.943 MB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.41, allocations: 0 / 1.346 GB, free: 13.05 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6] [Calling sys.exit(0), Time elapsed: 19.714022040832788]