Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001785/0.001785, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001921/0.001921, allocations: 217 kB / 22.25 MB, free: 5.082 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.012 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.958/2.958, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_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.002089/0.002089, allocations: 67.75 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3783, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002964/0.3812, allocations: 0.8967 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3829, allocations: 0.9212 MB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.383, allocations: 4 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.3831, allocations: 15.8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3832, allocations: 11.88 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3835, allocations: 67.91 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.3838, allocations: 139.7 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.384, allocations: 41.67 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.3842, allocations: 55.77 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3843, allocations: 63.69 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.3843, allocations: 12 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.676e-05/0.3843, allocations: 16 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.3844, allocations: 27.91 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.3845, allocations: 63.67 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3847, allocations: 146.8 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3847, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3847, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.3847, allocations: 0 / 1.286 GB, free: 9.094 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008087/0.3855, allocations: 369.8 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3856, allocations: 15.97 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.3857, allocations: 50.73 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.3857, allocations: 16.84 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.3861, allocations: 147.2 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3861, allocations: 8.375 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3862, allocations: 12.38 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.3865, allocations: 154.7 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3866, allocations: 3.938 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.3866, allocations: 8 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.3866, allocations: 4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.3869, allocations: 131.8 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.3879, allocations: 471.3 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.3881, allocations: 78.48 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3883, allocations: 44.83 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3883, allocations: 4 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3883, allocations: 30.75 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3883, allocations: 3.938 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005235/0.3889, allocations: 165.5 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3889, allocations: 59.34 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3892, allocations: 187.6 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3892, allocations: 25.7 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.3893, allocations: 124 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3893, allocations: 31.7 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.3894, allocations: 29.7 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3895, allocations: 326.8 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3897, allocations: 39.97 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3898, allocations: 44.97 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.39, allocations: 87.45 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.39, allocations: 3.938 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003489/0.3904, allocations: 157.5 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3904, allocations: 4.375 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3904, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3904, allocations: 0 / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3906, allocations: 27.98 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3906, allocations: 3.938 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3907, allocations: 19.88 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3907, allocations: 4 kB / 1.289 GB, free: 6.059 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 (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.0001361/0.3909, allocations: 129.7 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3909, allocations: 15.91 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.3913, allocations: 135 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3913, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3913, allocations: 3.938 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3913, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.392, allocations: 435.9 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.392, allocations: 0 / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3921, allocations: 19.98 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3921, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3921, allocations: 3.938 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3921, allocations: 4 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3921, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3925, allocations: 247.7 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3925, allocations: 15.91 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.3925, allocations: 4 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3927, allocations: 27.91 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.3927, allocations: 11.92 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3927, allocations: 8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001368/0.3929, allocations: 141.8 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3929, allocations: 4 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002521/0.3931, allocations: 16 kB / 1.29 GB, free: 4.754 MB / 0.9825 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.0007376/0.3939, allocations: 0.7854 MB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.3942, allocations: 95.89 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3942, allocations: 0 / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3944, allocations: 51.91 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3948, allocations: 11.94 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.3975, allocations: 1.889 MB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3979, allocations: 0.7162 MB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.289e-05/0.3979, allocations: 17.06 kB / 1.293 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.398, allocations: 39.42 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.398, allocations: 0 / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4293, allocations: 2.971 MB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 26 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.812126622069627]