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.001707/0.001707, allocations: 113 kB / 16.46 MB, free: 6.453 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.00209/0.00209, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.41/1.41, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.082/3.082, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.001958/0.001958, allocations: 74.69 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3102, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00269/0.3129, allocations: 1.694 MB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.315, allocations: 1.406 MB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.3151, allocations: 7.938 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.3154, allocations: 79.58 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3155, allocations: 83.52 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.3162, allocations: 285.9 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3165, allocations: 187.2 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.3165, allocations: 9.484 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3166, allocations: 83.69 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3168, allocations: 91.59 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3168, allocations: 4 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.3173, allocations: 343.5 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.3174, allocations: 67.73 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3175, allocations: 95.41 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.318, allocations: 390.6 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.318, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.318, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.318, allocations: 0 / 1.325 GB, free: 14.57 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.0009318/0.319, allocations: 0.5697 MB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.319, allocations: 11.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.319, allocations: 30.75 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.3191, allocations: 28.75 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.3196, allocations: 283.8 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.3197, allocations: 67.95 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3197, allocations: 384 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3199, allocations: 93.59 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3199, allocations: 0 / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.32, allocations: 4 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.32, allocations: 3.984 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.3202, allocations: 103.9 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3205, allocations: 253.5 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3219, allocations: 290.4 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3221, allocations: 56.83 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.3222, allocations: 101 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3222, allocations: 30.56 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3222, allocations: 4 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004954/0.3227, allocations: 209.4 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.3228, allocations: 51.41 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3231, allocations: 303.2 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3231, allocations: 29.7 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.3232, allocations: 124.6 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3232, allocations: 27.73 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.3233, allocations: 57.67 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3235, allocations: 330.8 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.3237, allocations: 155.9 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.3239, allocations: 163.7 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.3243, allocations: 293.4 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3243, allocations: 0 / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005971/0.3249, allocations: 409.1 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.325, allocations: 4 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.325, allocations: 0 / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.325, allocations: 7.984 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.3251, allocations: 11.98 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3251, allocations: 4 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3252, allocations: 35.62 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3252, allocations: 0 / 1.329 GB, free: 10.23 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.0001231/0.3253, allocations: 131.6 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3254, allocations: 31.72 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.3257, allocations: 175.5 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3257, allocations: 0 / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3258, allocations: 0 / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3258, allocations: 4 kB / 1.33 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.326, allocations: 237.5 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.326, allocations: 3.938 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.3261, allocations: 12.31 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3261, allocations: 0 / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3261, allocations: 11.98 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3261, allocations: 0 / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3261, allocations: 0 / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3264, allocations: 180.9 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3265, allocations: 112.8 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3266, allocations: 3.984 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.3267, allocations: 4 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3267, allocations: 8 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3267, allocations: 7.984 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001795/0.3269, allocations: 193.9 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3269, allocations: 0 / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003757/0.3273, allocations: 119.8 kB / 1.331 GB, free: 8.922 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.001028/0.3283, allocations: 0.8852 MB / 1.331 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005208/0.3288, allocations: 307.3 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3288, allocations: 0 / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3289, allocations: 63.83 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3292, allocations: 36.89 kB / 1.332 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.3324, allocations: 2.684 MB / 1.334 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3327, allocations: 0.7357 MB / 1.335 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.419e-05/0.3328, allocations: 25.06 kB / 1.335 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.3329, allocations: 59.41 kB / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3329, allocations: 0 / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.3652, allocations: 5.834 MB / 1.341 GB, free: 14.32 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.537, allocations: 11.11 kB / 1.341 GB, free: 14.31 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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:time,T,TExa,TMonotone,errMonotone,errNonMonotone [Calling sys.exit(0), Time elapsed: 14.96035710722208]