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.00121/0.00121, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.001382/0.001382, allocations: 215.7 kB / 22.24 MB, free: 5.266 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.805 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.935/2.935, allocations: 0.49 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.001996/0.001996, allocations: 65.91 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3109, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002666/0.3136, allocations: 1.638 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3155, allocations: 1.293 MB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.3156, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.3159, allocations: 79.59 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.3161, allocations: 75.52 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.3167, allocations: 286.2 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.317, allocations: 183.3 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.317, allocations: 9.672 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3171, allocations: 83.62 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3173, allocations: 91.59 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3173, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.3178, allocations: 347.5 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.3179, allocations: 59.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.318, allocations: 87.45 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005034/0.3185, allocations: 394.7 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3185, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3185, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3185, allocations: 0 / 1.33 GB, free: 12.89 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.0008141/0.3193, allocations: 492.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3193, allocations: 12.03 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.3194, allocations: 34.75 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.3194, allocations: 32.73 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.3198, allocations: 210.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.32, allocations: 145 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.32, allocations: 8.375 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3202, allocations: 89.58 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3202, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3202, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3202, allocations: 3.938 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.3205, allocations: 95.94 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.3207, allocations: 224.6 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3221, allocations: 294.3 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3223, allocations: 56.83 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.3224, allocations: 23.92 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3224, allocations: 30.56 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3224, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005/0.3229, allocations: 209.5 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.323, allocations: 55.34 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.3233, allocations: 312.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3233, allocations: 29.64 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3234, allocations: 116.6 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3234, allocations: 19.84 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3235, allocations: 57.69 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3237, allocations: 338.8 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.3239, allocations: 151.9 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3242, allocations: 163.7 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.3246, allocations: 297.4 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3246, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005919/0.3252, allocations: 397.1 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3252, allocations: 5.719 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3252, allocations: 4.25 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3252, allocations: 0 / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3254, allocations: 23.92 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3254, allocations: 4 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3255, allocations: 39.62 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3255, allocations: 4 kB / 1.334 GB, free: 8.758 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.0001353/0.3257, allocations: 130.3 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.3257, allocations: 23.8 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.3261, allocations: 171.3 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3261, allocations: 3.984 kB / 1.334 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3261, allocations: 4 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3261, allocations: 0 / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3263, allocations: 204.6 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3263, allocations: 3.938 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.3264, allocations: 15.94 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3264, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3264, allocations: 3.984 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3264, allocations: 0 / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3264, allocations: 4 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3267, allocations: 184.9 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.3268, allocations: 27.78 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3268, allocations: 0 / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.3269, allocations: 15.92 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.3269, allocations: 4 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3269, allocations: 7.984 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001773/0.3271, allocations: 199.1 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3271, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000387/0.3275, allocations: 115.8 kB / 1.335 GB, free: 7.59 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.001086/0.3286, allocations: 0.8853 MB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.3291, allocations: 307.2 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3291, allocations: 0 / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3293, allocations: 59.95 kB / 1.336 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3295, allocations: 36.62 kB / 1.336 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.3326, allocations: 2.701 MB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3327, allocations: 120 kB / 1.339 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.166e-05/0.3328, allocations: 21.08 kB / 1.339 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.3328, allocations: 67.33 kB / 1.339 GB, free: 3.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3328, allocations: 0 / 1.339 GB, free: 3.254 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3656, allocations: 6.576 MB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.67, allocations: 11.53 kB / 1.346 GB, free: 12.86 MB / 1.045 GB " [Timeout remaining time 289] (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: 16.852245760994265]