Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001318/0.001318, allocations: 110.4 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.001521/0.001521, allocations: 218.8 kB / 22.25 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.002043/0.002043, allocations: 65.95 kB / 1.117 GB, free: 39.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2896, allocations: 170 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001925/0.2915, allocations: 0.7158 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.2925, allocations: 0.8395 MB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.2925, allocations: 0 / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2925, allocations: 3.938 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.2926, allocations: 3.938 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.37e-05/0.2927, allocations: 15.98 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.2928, allocations: 39.91 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.2929, allocations: 11.98 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.565e-05/0.2929, allocations: 23.86 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.293, allocations: 19.92 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.293, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.293, allocations: 8 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.2931, allocations: 11.92 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.2931, allocations: 15.94 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.2932, allocations: 43.38 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2932, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2932, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2932, allocations: 3.938 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005057/0.2937, allocations: 286.2 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2937, allocations: 16.03 kB / 1.285 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.2938, allocations: 34.75 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2938, allocations: 0.9375 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2939, allocations: 114.4 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2939, allocations: 384 / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.294, allocations: 4.375 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2942, allocations: 82.08 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2942, allocations: 3.938 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.2942, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2942, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.2945, allocations: 55.94 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.2949, allocations: 240 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2951, allocations: 58.47 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2952, allocations: 40.92 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2952, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2953, allocations: 30.56 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2953, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005279/0.2958, allocations: 133.5 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2958, allocations: 59.34 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.2959, allocations: 109.8 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.296, allocations: 25.7 kB / 1.286 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.296, allocations: 88.14 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.296, allocations: 11.94 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.2961, allocations: 17.72 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2962, allocations: 310.8 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2963, allocations: 31.95 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2965, allocations: 31.97 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2967, allocations: 72.72 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2967, allocations: 4 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003025/0.297, allocations: 93.58 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2971, allocations: 14.28 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2971, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2971, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2972, allocations: 19.97 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2972, allocations: 3.938 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.2973, allocations: 15.92 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2973, allocations: 4 kB / 1.287 GB, free: 7.391 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 8.356e-05/0.2974, allocations: 110.6 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.2974, allocations: 12.28 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.2978, allocations: 105.6 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2978, allocations: 4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2978, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2978, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2979, allocations: 148.6 kB / 1.287 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2979, allocations: 3.938 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.301e-05/0.298, allocations: 19.98 kB / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.298, allocations: 0 / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.298, allocations: 0 / 1.287 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.298, allocations: 3.938 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.298, allocations: 0 / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.2984, allocations: 199.4 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.2984, allocations: 7.953 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2984, allocations: 4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2985, allocations: 11.98 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.2986, allocations: 3.984 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.2986, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.2986, allocations: 87.27 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2986, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.2988, allocations: 16 kB / 1.288 GB, free: 6.586 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0006705/0.2995, allocations: 0.7162 MB / 1.288 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.2998, allocations: 71.92 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2998, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3, allocations: 39.89 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3003, allocations: 4 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.3007, allocations: 155.2 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.301, allocations: 0.6807 MB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.301, allocations: 4 kB / 1.289 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3011, allocations: 15.42 kB / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3011, allocations: 0 / 1.289 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.3289, allocations: 1.734 MB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.59, allocations: 0.5 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.38551492593251]