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.0008358/0.0008358, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008057/0.0008057, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8411/0.8411, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 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 1.7/1.7, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.902e-05, allocations: 5.375 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002376/0.002415, allocations: 1.63 MB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003929, allocations: 1.292 MB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.004014, allocations: 4 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.004346, allocations: 83.42 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.004447, allocations: 75.52 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.005028, allocations: 291 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.005198, allocations: 191.1 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.00524, allocations: 5.688 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.005362, allocations: 111.6 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.751e-05/0.00546, allocations: 71.78 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.005476, allocations: 8 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003722/0.005848, allocations: 331.3 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.005932, allocations: 71.81 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.382e-05/0.005996, allocations: 67.78 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.006431, allocations: 438.8 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.006434, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.814e-06/0.006436, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.006441, allocations: 0 / 1.004 GB, free: 8.852 MB / 0.9636 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.0006636/0.007105, allocations: 484.6 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.007145, allocations: 16.75 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.729e-05/0.007213, allocations: 38.73 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.007256, allocations: 20.8 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.007583, allocations: 225.8 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.007688, allocations: 145.1 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.007698, allocations: 4.375 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.007839, allocations: 90.2 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.007847, allocations: 192 / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007858, allocations: 7.938 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.007862, allocations: 0 / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.007993, allocations: 99.94 kB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.008176, allocations: 220.5 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.009061, allocations: 294.3 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.009134, allocations: 56.83 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/0.009222, allocations: 23.92 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.00924, allocations: 34.55 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.009241, allocations: 0 / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0003092/0.009551, allocations: 213.3 kB / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.00958, allocations: 51.41 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.009773, allocations: 304.4 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.009785, allocations: 25.7 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.009841, allocations: 128.5 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.009864, allocations: 23.78 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.009918, allocations: 65.62 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.01, allocations: 334.8 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01013, allocations: 151.9 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.01038, allocations: 151.9 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.01061, allocations: 303.7 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01061, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003117/0.01092, allocations: 400.9 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01094, allocations: 4 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.01095, allocations: 3.938 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01097, allocations: 4 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.01102, allocations: 15.98 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.01103, allocations: 4 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.0111, allocations: 39.62 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.01111, allocations: 0 / 1.008 GB, free: 4.727 MB / 0.9636 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.0001053/0.01121, allocations: 133.8 kB / 1.008 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.01123, allocations: 19.86 kB / 1.008 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.01146, allocations: 179.5 kB / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01146, allocations: 0 / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.01146, allocations: 0 / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01146, allocations: 0 / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.01159, allocations: 204.7 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01159, allocations: 4.312 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.01163, allocations: 12 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01163, allocations: 7.984 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01164, allocations: 3.938 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01164, allocations: 4 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01165, allocations: 0 / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.01182, allocations: 188.8 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.01187, allocations: 31.83 kB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.01189, allocations: 3.938 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.01192, allocations: 11.98 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.01196, allocations: 7.984 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.01197, allocations: 4 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01209, allocations: 199.1 kB / 1.009 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01209, allocations: 0 / 1.009 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002867/0.01237, allocations: 115.7 kB / 1.009 GB, free: 3.543 MB / 0.9636 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.0006947/0.01307, allocations: 0.8776 MB / 1.01 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.01338, allocations: 315.1 kB / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01339, allocations: 8 kB / 1.01 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.01345, allocations: 55.97 kB / 1.01 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.01366, allocations: 35.06 kB / 1.01 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.01585, allocations: 2.7 MB / 1.013 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.01593, allocations: 132 kB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.787e-05/0.01598, allocations: 13.16 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.01605, allocations: 64.47 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.01605, allocations: 4 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.03576, allocations: 6.684 MB / 1.02 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.526, allocations: 4.062 kB / 1.02 GB, free: 8.711 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.427306339144707]