Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001204/0.001204, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001399/0.001399, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.984/2.984, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_latest_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.00186/0.00186, allocations: 66.59 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3033, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002636/0.3059, allocations: 1.648 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3079, allocations: 1.282 MB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.308, allocations: 4 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3083, allocations: 87.48 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3085, allocations: 75.58 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.3091, allocations: 281.3 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.3093, allocations: 187.1 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.3094, allocations: 9.688 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3095, allocations: 83.69 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3096, allocations: 79.66 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.3097, allocations: 8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.3102, allocations: 331.4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.3103, allocations: 67.73 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.3104, allocations: 79.58 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.3109, allocations: 402.5 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3109, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3109, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3109, allocations: 4 kB / 1.368 GB, free: 9.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008162/0.3117, allocations: 488.6 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3118, allocations: 8.031 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.3118, allocations: 34.75 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.3119, allocations: 28.78 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3122, allocations: 222.6 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.3124, allocations: 141.1 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3124, allocations: 384 / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3126, allocations: 97.58 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3126, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3126, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3127, allocations: 7.922 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3129, allocations: 99.94 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3131, allocations: 212.6 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.3145, allocations: 290.4 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3146, allocations: 60.83 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-05/0.3147, allocations: 23.92 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3147, allocations: 34.56 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.3147, allocations: 0 / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004859/0.3152, allocations: 221.3 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3152, allocations: 51.41 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.3155, allocations: 308.4 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3156, allocations: 25.7 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.3156, allocations: 124.5 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3157, allocations: 15.84 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.3158, allocations: 61.69 kB / 1.37 GB, free: 6.766 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3159, allocations: 334.8 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3162, allocations: 159.9 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3164, allocations: 151.9 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.3168, allocations: 301.3 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3168, allocations: 0 / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005563/0.3173, allocations: 404.9 kB / 1.372 GB, free: 5.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3174, allocations: 6.188 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3174, allocations: 3.938 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3174, allocations: 4 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.3175, allocations: 11.98 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3175, allocations: 0 / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3176, allocations: 39.67 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3176, allocations: 4 kB / 1.372 GB, free: 5.359 MB / 1.061 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.0001151/0.3177, allocations: 137.8 kB / 1.372 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.3178, allocations: 27.75 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.3181, allocations: 159.5 kB / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3181, allocations: 0 / 1.372 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3181, allocations: 4 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3181, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3183, allocations: 204.6 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3183, allocations: 3.938 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.3184, allocations: 12 kB / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3184, allocations: 0 / 1.372 GB, free: 4.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3184, allocations: 7.984 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3184, allocations: 0 / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3184, allocations: 3.938 kB / 1.372 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.3188, allocations: 185.2 kB / 1.372 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.3188, allocations: 31.73 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3189, allocations: 4.062 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3189, allocations: 11.98 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.319, allocations: 0 / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.319, allocations: 7.984 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001771/0.3192, allocations: 199.1 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3192, allocations: 4 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003453/0.3195, allocations: 111.8 kB / 1.373 GB, free: 4.191 MB / 1.061 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.0009817/0.3205, allocations: 0.8813 MB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.321, allocations: 315.2 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.321, allocations: 4 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3211, allocations: 63.89 kB / 1.374 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3214, allocations: 32.58 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3244, allocations: 2.689 MB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.3246, allocations: 124.3 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.464e-05/0.3246, allocations: 17.08 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.3247, allocations: 59.41 kB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3247, allocations: 0 / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.3566, allocations: 6.556 MB / 1.383 GB, free: 9.504 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.59, allocations: 1.719 kB / 1.383 GB, free: 9.504 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.637096278835088]