Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001842/0.001842, allocations: 113 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.002534/0.002534, allocations: 208.7 kB / 22.25 MB, free: 5.086 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.043 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.796/2.796, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.002105/0.002105, allocations: 67.52 kB / 1.117 GB, free: 39.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009575/0.3384, allocations: 7.002 MB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005498/0.3439, allocations: 3.196 MB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.3444, allocations: 39.69 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.3472, allocations: 0.9947 MB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.3486, allocations: 0.5284 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3497, allocations: 422.5 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3513, allocations: 1.229 MB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009036/0.3522, allocations: 0.5368 MB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.3531, allocations: 490.3 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.3539, allocations: 0.5487 MB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.354, allocations: 64 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.3548, allocations: 391.2 kB / 1.298 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.3551, allocations: 315.1 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.3556, allocations: 453.7 kB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.3572, allocations: 1.222 MB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3572, allocations: 4 kB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3572, allocations: 0 / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.3572, allocations: 0 / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002043/0.3592, allocations: 1.112 MB / 1.301 GB, free: 9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3593, allocations: 15.97 kB / 1.301 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3594, allocations: 118.7 kB / 1.302 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.3609, allocations: 240.1 kB / 1.302 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.362, allocations: 0.5269 MB / 1.302 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.362, allocations: 45.67 kB / 1.302 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3621, allocations: 68.36 kB / 1.302 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.3637, allocations: 1.081 MB / 1.303 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3637, allocations: 7.938 kB / 1.303 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3638, allocations: 27.98 kB / 1.304 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.364, allocations: 85.25 kB / 1.304 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3652, allocations: 0.7543 MB / 1.304 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006073/0.3713, allocations: 5.795 MB / 1.31 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3723, allocations: 0.5148 MB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.3727, allocations: 286 kB / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.3728, allocations: 4.438 kB / 1.311 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3728, allocations: 43 kB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 4.068e-06/0.3728, allocations: 3.984 kB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003824/0.3766, allocations: 1.686 MB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.3767, allocations: 55.84 kB / 1.313 GB, free: 13.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.3773, allocations: 0.5547 MB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.3774, allocations: 29.7 kB / 1.313 GB, free: 12.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.3777, allocations: 436 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3779, allocations: 178.5 kB / 1.314 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3781, allocations: 122.6 kB / 1.314 GB, free: 11.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3783, allocations: 378.7 kB / 1.314 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.3787, allocations: 277.8 kB / 1.314 GB, free: 11.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.3793, allocations: 0.4891 MB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.3805, allocations: 0.8006 MB / 1.316 GB, free: 9.586 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3805, allocations: 4 kB / 1.316 GB, free: 9.582 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001915/0.3824, allocations: 1.074 MB / 1.317 GB, free: 8.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3824, allocations: 8 kB / 1.317 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3824, allocations: 12.06 kB / 1.317 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000848/0.3833, allocations: 279.1 kB / 1.317 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.3837, allocations: 123.8 kB / 1.317 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00728/0.391, allocations: 6.728 MB / 1.324 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.3916, allocations: 39.95 kB / 1.324 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3917, allocations: 35.94 kB / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000378/0.3921, allocations: 257.4 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3922, allocations: 71.62 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.3939, allocations: 0.8887 MB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3939, allocations: 4 kB / 1.325 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3939, allocations: 4 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3939, allocations: 3.984 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.3967, allocations: 1.684 MB / 1.327 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3967, allocations: 8.125 kB / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.397, allocations: 59.95 kB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.3977, allocations: 267.1 kB / 1.327 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.3977, allocations: 12 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007174/0.4049, allocations: 6.713 MB / 1.333 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4049, allocations: 4.031 kB / 1.334 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.4066, allocations: 0.9722 MB / 1.334 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.4069, allocations: 115.5 kB / 1.335 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.407, allocations: 19.88 kB / 1.335 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4074, allocations: 31.95 kB / 1.335 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4075, allocations: 47.86 kB / 1.335 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4075, allocations: 16 kB / 1.335 GB, free: 5.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004697/0.408, allocations: 387.1 kB / 1.335 GB, free: 4.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.408, allocations: 0 / 1.335 GB, free: 4.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007965/0.4088, allocations: 223.9 kB / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001964/0.4108, allocations: 1.535 MB / 1.337 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.4129, allocations: 1.232 MB / 1.338 GB, free: 1.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4129, allocations: 0 / 1.338 GB, free: 1.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.4142, allocations: 0.8739 MB / 1.339 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4153, allocations: 221 kB / 1.339 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009479/0.4248, allocations: 6.365 MB / 1.345 GB, free: 9.703 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.4255, allocations: 1.016 MB / 1.346 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004248/0.4259, allocations: 122 kB / 1.346 GB, free: 8.539 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/0.4263, allocations: 251.4 kB / 1.347 GB, free: 8.293 MB / 1.045 GB Notification: Performance of SimCode: time 7.62e-07/0.4263, allocations: 0 / 1.347 GB, free: 8.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/0.4905, allocations: 18.06 MB / 1.364 GB, free: 6.543 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.98, allocations: 7.609 kB / 1.364 GB, free: 6.539 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 19.786060652928427]