Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001473/0.001473, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.789 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.32/3.32, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002352/0.002352, allocations: 71.36 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3831, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002826/0.3859, allocations: 0.84 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3874, allocations: 0.9211 MB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.3876, allocations: 7.875 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.3876, allocations: 7.875 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3877, allocations: 15.86 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.388, allocations: 59.91 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.3883, allocations: 139.7 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.3885, allocations: 45.64 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3887, allocations: 51.78 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3888, allocations: 47.75 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3888, allocations: 16 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.077e-05/0.3888, allocations: 12 kB / 1.327 GB, free: 172 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3889, allocations: 31.86 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.389, allocations: 55.7 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3893, allocations: 143.6 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3893, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3893, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3893, allocations: 4 kB / 1.327 GB, free: 15.94 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008456/0.3901, allocations: 365.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.846e-05/0.3902, allocations: 12.02 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.3903, allocations: 50.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.3903, allocations: 16.84 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.3907, allocations: 158.3 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3907, allocations: 12.38 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3908, allocations: 12.38 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.3912, allocations: 231.7 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.3912, allocations: 3.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3913, allocations: 11.94 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3913, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3916, allocations: 127.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/0.3925, allocations: 435.4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.3927, allocations: 78.48 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3929, allocations: 48.95 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3929, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.3929, allocations: 34.56 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.3929, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005136/0.3935, allocations: 161.5 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3935, allocations: 55.41 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.3937, allocations: 195.6 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3937, allocations: 25.7 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.3938, allocations: 116 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3939, allocations: 35.69 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3939, allocations: 33.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3941, allocations: 322.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3942, allocations: 47.97 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3943, allocations: 39.98 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3946, allocations: 99.62 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3946, allocations: 7.938 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003342/0.3949, allocations: 141.5 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3949, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3949, allocations: 0 / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.395, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3951, allocations: 23.98 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3951, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3952, allocations: 23.88 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3953, allocations: 4.375 kB / 1.33 GB, free: 12.84 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 (13): * Single equations (assignments): 13 * 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 0.0001213/0.3954, allocations: 125.7 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3954, allocations: 15.91 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.3958, allocations: 142.9 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.3958, allocations: 3.984 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3958, allocations: 4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3958, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.3964, allocations: 411.9 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3964, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3966, allocations: 27.92 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3966, allocations: 4.094 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3966, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3966, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3966, allocations: 0 / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.397, allocations: 245.9 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.397, allocations: 19.89 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.397, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3972, allocations: 15.98 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3972, allocations: 19.91 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3972, allocations: 4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001343/0.3974, allocations: 144.1 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3974, allocations: 0 / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002567/0.3976, allocations: 20 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007448/0.3984, allocations: 0.7773 MB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.3987, allocations: 104.1 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3987, allocations: 0 / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3988, allocations: 39.92 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3992, allocations: 31.8 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.4017, allocations: 1.884 MB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.964e-05/0.4018, allocations: 94.58 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.4019, allocations: 13.08 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.402, allocations: 43.42 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.402, allocations: 4 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.4347, allocations: 3.399 MB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 14.36 kB / 1.338 GB, free: 5.148 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.89642943115905]