Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 107.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.181/3.181, allocations: 497.2 MB / 0.7811 GB, free: 33.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.92 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 173.9 MB / 1.304 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002248/0.3455, allocations: 0.8932 MB / 1.305 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3467, allocations: 0.8819 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.3468, allocations: 8 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.3468, allocations: 15.8 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.3469, allocations: 7.875 kB / 1.306 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3471, allocations: 63.91 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3473, allocations: 143.7 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3475, allocations: 49.45 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.3475, allocations: 47.8 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3477, allocations: 55.69 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3477, allocations: 16 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.3477, allocations: 12 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.3477, allocations: 35.91 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.3478, allocations: 63.64 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.348, allocations: 147.5 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.348, allocations: 3.984 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.348, allocations: 0 / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.348, allocations: 0 / 1.306 GB, free: 15 MB / 1.014 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.0007047/0.3487, allocations: 442.9 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3488, allocations: 12.62 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.3488, allocations: 50.67 kB / 1.307 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3489, allocations: 16.84 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3492, allocations: 216.1 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3492, allocations: 8.375 kB / 1.307 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3492, allocations: 16.38 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3495, allocations: 150.2 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3495, allocations: 7.938 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3496, allocations: 4 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3496, allocations: 4 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.3499, allocations: 131.9 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.3507, allocations: 492.2 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3509, allocations: 82.48 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.351, allocations: 44.77 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.351, allocations: 192 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.351, allocations: 42.5 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.351, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0004634/0.3515, allocations: 161.5 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.3516, allocations: 51.41 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3517, allocations: 187.5 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3518, allocations: 33.7 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.3519, allocations: 120 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.3519, allocations: 27.75 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.352, allocations: 29.66 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3521, allocations: 330.8 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3522, allocations: 43.97 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3523, allocations: 35.97 kB / 1.309 GB, free: 12.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3526, allocations: 88.83 kB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3526, allocations: 3.938 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003214/0.3529, allocations: 156.4 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3529, allocations: 9.719 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3529, allocations: 4.375 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.353, allocations: 0 / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3531, allocations: 23.98 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3531, allocations: 0 / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3532, allocations: 27.77 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3532, allocations: 4 kB / 1.309 GB, free: 11.76 MB / 1.014 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.0001147/0.3533, allocations: 129.7 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.3534, allocations: 11.91 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.3537, allocations: 147 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3537, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3538, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3538, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.3544, allocations: 452.9 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3544, allocations: 4 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3545, allocations: 23.92 kB / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3545, allocations: 0 / 1.31 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3545, allocations: 8 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3545, allocations: 0 / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3545, allocations: 4.031 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3549, allocations: 249.8 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3549, allocations: 93 kB / 1.31 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.355, allocations: 7.984 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3551, allocations: 15.98 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3552, allocations: 7.938 kB / 1.31 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3552, allocations: 11.98 kB / 1.31 GB, free: 10.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001331/0.3553, allocations: 145.2 kB / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3553, allocations: 0 / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002562/0.3556, allocations: 27.95 kB / 1.311 GB, free: 10.32 MB / 1.014 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.0007803/0.3563, allocations: 0.7737 MB / 1.311 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3567, allocations: 103.8 kB / 1.311 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3567, allocations: 4 kB / 1.311 GB, free: 9.406 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3568, allocations: 43.91 kB / 1.312 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3571, allocations: 15.94 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3595, allocations: 1.893 MB / 1.313 GB, free: 7.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3598, allocations: 0.7123 MB / 1.314 GB, free: 6.617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.3599, allocations: 13.08 kB / 1.314 GB, free: 6.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.36, allocations: 47.36 kB / 1.314 GB, free: 6.559 MB / 1.014 GB Notification: Performance of SimCode: time 4.5e-07/0.36, allocations: 0 / 1.314 GB, free: 6.559 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.3846, allocations: 2.826 MB / 1.317 GB, free: 3.828 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.552, allocations: 6.344 kB / 1.317 GB, free: 3.824 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.226229517254978]