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.0008133/0.0008133, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00083/0.00083, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9251/0.9251, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.73/1.73, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.9506 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.56e-05, allocations: 6.281 kB / 0.9506 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001272/0.001288, allocations: 0.8427 MB / 0.9514 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.002125, allocations: 0.9139 MB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.002192, allocations: 4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.002227, allocations: 15.81 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.002293, allocations: 19.8 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.002477, allocations: 63.89 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.002635, allocations: 135.7 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.002766, allocations: 45.64 kB / 0.9526 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.002847, allocations: 71.8 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.0029, allocations: 43.88 kB / 0.9527 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.002928, allocations: 12 kB / 0.9527 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.002943, allocations: 16 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.002966, allocations: 27.91 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.003001, allocations: 47.83 kB / 0.9528 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003135, allocations: 147.5 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003137, allocations: 3.938 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003137, allocations: 0 / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.003141, allocations: 4 kB / 0.9529 GB, free: 1.023 MB / 0.9011 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.0004314/0.003572, allocations: 361.8 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.003609, allocations: 8.031 kB / 0.9533 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.003645, allocations: 46.73 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.003674, allocations: 20.84 kB / 0.9533 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.003859, allocations: 161.5 kB / 0.9535 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.00387, allocations: 12.38 kB / 0.9535 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.003883, allocations: 16.31 kB / 0.9535 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.004119, allocations: 223.3 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004127, allocations: 192 / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.00414, allocations: 8.375 kB / 0.9537 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.004145, allocations: 8.125 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.004333, allocations: 132.7 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.00483, allocations: 431.4 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.004956, allocations: 74.55 kB / 0.9544 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.042e-05/0.005026, allocations: 44.83 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.005045, allocations: 4 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.005068, allocations: 42.62 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.00507, allocations: 0 / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002917/0.005361, allocations: 153.5 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.005387, allocations: 51.41 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.005512, allocations: 195.6 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005524, allocations: 29.7 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.005578, allocations: 112 kB / 0.955 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.005598, allocations: 39.69 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.005633, allocations: 25.72 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.005713, allocations: 330.8 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.00578, allocations: 35.98 kB / 0.9554 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.005842, allocations: 39.97 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.005974, allocations: 100.1 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005975, allocations: 0 / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001752/0.006151, allocations: 157.4 kB / 0.9557 GB, free: 14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006163, allocations: 8 kB / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.006167, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.006177, allocations: 0 / 0.9557 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.006269, allocations: 23.98 kB / 0.9557 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.006273, allocations: 0 / 0.9557 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.006322, allocations: 32.2 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.006328, allocations: 0 / 0.9557 GB, free: 13.94 MB / 0.9167 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 6.401e-05/0.006392, allocations: 129.8 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.006415, allocations: 23.83 kB / 0.9559 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.006603, allocations: 135 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006604, allocations: 0 / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.006607, allocations: 3.938 kB / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00661, allocations: 0 / 0.956 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.006941, allocations: 408 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006942, allocations: 0 / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.006993, allocations: 23.98 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006995, allocations: 4 kB / 0.9564 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007002, allocations: 3.938 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.007005, allocations: 4 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007006, allocations: 0 / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.007191, allocations: 241.9 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.007207, allocations: 23.94 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.00722, allocations: 4 kB / 0.9567 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.007288, allocations: 15.97 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.007321, allocations: 11.97 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007327, allocations: 8 kB / 0.9567 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.492e-05/0.007401, allocations: 149.7 kB / 0.9569 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007402, allocations: 0 / 0.9569 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001586/0.00756, allocations: 24 kB / 0.9569 GB, free: 12.65 MB / 0.9167 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.000355/0.007915, allocations: 0.7773 MB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.008087, allocations: 87.89 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008089, allocations: 288 / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.00816, allocations: 47.91 kB / 0.9578 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.008388, allocations: 26.72 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.009806, allocations: 1.904 MB / 0.9596 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.009865, allocations: 102.8 kB / 0.9597 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.0099, allocations: 13.14 kB / 0.9598 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.00996, allocations: 44.48 kB / 0.9598 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.009961, allocations: 0 / 0.9598 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02432, allocations: 3.539 MB / 0.9633 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.647, allocations: 3.625 kB / 0.9633 GB, free: 6.113 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.714289887808263]